home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-10-24 | 114.6 KB | [ ONLN/HLX2]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
1%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
100%
file
MacBinary II, inited, Mon Oct 24 07:12:34 1994, modified Mon Oct 24 07:57:13 1994, creator 'HLX2', type 'ONLN', 113518 bytes "OS06 Control Strip Modules" , at 0x1bbee 3621 bytes resource
default (weak)
99%
file
data
default
100%
TrID
MacBinary 2
default (weak)
100%
dearkID
deark: macbinary
default
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ ONLN] macFileCreator [ HLX2]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 1a 4f 53 30 36 20 43 | 6f 6e 74 72 6f 6c 20 53 |..OS06 C|ontrol S| |00000010| 74 72 69 70 20 4d 6f 64 | 75 6c 65 73 00 00 00 00 |trip Mod|ules....| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......| |00000050| 00 00 00 00 01 bb 6e 00 | 00 0e 25 aa d1 47 22 aa |......n.|..%..G".| |00000060| d1 51 99 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Q......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4e 0f 00 00 |........|....N...| |00000080| 4f 53 20 36 20 2d 20 43 | 6f 6e 74 72 6f 6c 20 53 |OS 6 - C|ontrol S| |00000090| 74 72 69 70 20 4d 6f 64 | 75 6c 65 73 0d 4f 70 65 |trip Mod|ules.Ope| |000000a0| 72 61 74 69 6e 67 20 53 | 79 73 74 65 6d 09 0d 52 |rating S|ystem..R| |000000b0| 65 76 69 73 65 64 20 62 | 79 3a 09 42 72 69 61 6e |evised b|y:.Brian| |000000c0| 20 42 65 63 68 74 65 6c | 09 53 65 70 74 65 6d 62 | Bechtel|.Septemb| |000000d0| 65 72 20 31 39 39 34 0d | 57 72 69 74 74 65 6e 20 |er 1994.|Written | |000000e0| 62 79 3a 09 41 6c 6c 65 | 6e 20 57 61 74 73 6f 6e |by:.Alle|n Watson| |000000f0| 2c 20 53 74 65 76 65 20 | 43 68 72 69 73 74 65 6e |, Steve |Christen| |00000100| 73 65 6e 09 4a 75 6c 79 | 20 31 39 39 34 0d 57 65 |sen.July| 1994.We| |00000110| 20 64 69 73 63 75 73 73 | 20 43 6f 6e 74 72 6f 6c | discuss| Control| |00000120| 20 53 74 72 69 70 20 6d | 6f 64 75 6c 65 73 20 61 | Strip m|odules a| |00000130| 6e 64 20 68 6f 77 20 74 | 6f 20 77 72 69 74 65 20 |nd how t|o write | |00000140| 61 20 6e 65 77 20 6d 6f | 64 75 6c 65 2e 20 20 54 |a new mo|dule. T| |00000150| 68 69 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |his info|rmation | |00000160| 6f 72 69 67 69 6e 61 6c | 6c 79 20 61 70 70 65 61 |original|ly appea| |00000170| 72 65 64 20 69 6e 20 74 | 68 65 20 50 6f 77 65 72 |red in t|he Power| |00000180| 42 6f 6f 6b 20 35 32 30 | 2c 20 35 32 30 63 2c 20 |Book 520|, 520c, | |00000190| 35 34 30 2c 20 35 34 30 | 63 20 44 65 76 65 6c 6f |540, 540|c Develo| |000001a0| 70 65 72 20 4e 6f 74 65 | 2e 20 20 49 74 20 69 73 |per Note|. It is| |000001b0| 20 62 65 69 6e 67 20 70 | 75 62 6c 69 73 68 65 64 | being p|ublished| |000001c0| 20 61 73 20 61 20 54 65 | 63 68 6e 69 63 61 6c 20 | as a Te|chnical | |000001d0| 4e 6f 74 65 20 66 6f 72 | 20 65 61 73 65 20 6f 66 |Note for| ease of| |000001e0| 20 61 63 63 65 73 73 2e | 20 54 68 65 20 69 6e 66 | access.| The inf| |000001f0| 6f 72 6d 61 74 69 6f 6e | 20 69 6e 20 74 68 65 20 |ormation| in the | |00000200| 50 6f 77 65 72 42 6f 6f | 6b 20 35 32 30 2c 20 35 |PowerBoo|k 520, 5| |00000210| 32 30 63 2c 20 35 34 30 | 2c 20 35 34 30 63 20 44 |20c, 540|, 540c D| |00000220| 65 76 65 6c 6f 70 65 72 | 20 4e 6f 74 65 20 69 73 |eveloper| Note is| |00000230| 20 6f 62 73 6f 6c 65 74 | 65 2e 20 41 6c 6c 20 66 | obsolet|e. All f| |00000240| 75 74 75 72 65 20 75 70 | 64 61 74 65 73 20 74 6f |uture up|dates to| |00000250| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 61 74 | this do|cumentat| |00000260| 69 6f 6e 20 77 69 6c 6c | 20 68 61 70 70 65 6e 20 |ion will| happen | |00000270| 77 69 74 68 69 6e 20 74 | 68 69 73 20 54 65 63 68 |within t|his Tech| |00000280| 6e 69 63 61 6c 20 4e 6f | 74 65 2e 0d 54 6f 70 69 |nical No|te..Topi| |00000290| 63 73 0d a5 20 49 6e 74 | 72 6f 64 75 63 74 69 6f |cs.. Int|roductio| |000002a0| 6e 0d a5 09 41 64 64 69 | 6e 67 20 61 20 43 6f 6e |n...Addi|ng a Con| |000002b0| 74 72 6f 6c 20 53 74 72 | 69 70 0d a5 20 4d 6f 64 |trol Str|ip.. Mod| |000002c0| 75 6c 65 20 49 6e 74 65 | 72 66 61 63 65 0d a5 20 |ule Inte|rface.. | |000002d0| 4d 6f 64 75 6c 65 20 52 | 65 65 6e 74 72 61 6e 63 |Module R|eentranc| |000002e0| 79 0d a5 09 43 6f 6e 74 | 72 6f 6c 20 53 74 72 69 |y...Cont|rol Stri| |000002f0| 70 20 4d 6f 64 75 6c 65 | 20 52 65 66 65 72 65 6e |p Module| Referen| |00000300| 63 65 0d a5 09 55 74 69 | 6c 69 74 79 20 52 6f 75 |ce...Uti|lity Rou| |00000310| 74 69 6e 65 73 0d a5 09 | 47 65 73 74 61 6c 74 20 |tines...|Gestalt | |00000320| 53 65 6c 65 63 74 6f 72 | 73 0d 49 6e 74 72 6f 64 |Selector|s.Introd| |00000330| 75 63 74 69 6f 6e 0d 54 | 68 65 20 43 6f 6e 74 72 |uction.T|he Contr| |00000340| 6f 6c 20 53 74 72 69 70 | 20 69 73 20 61 20 63 6f |ol Strip| is a co| |00000350| 6e 74 72 6f 6c 20 70 61 | 6e 65 6c 20 74 68 61 74 |ntrol pa|nel that| |00000360| 20 70 72 6f 76 69 64 65 | 73 20 74 68 65 20 6f 70 | provide|s the op| |00000370| 65 72 61 74 69 6e 67 20 | 65 6e 76 69 72 6f 6e 6d |erating |environm| |00000380| 65 6e 74 20 66 6f 72 20 | 43 6f 6e 74 72 6f 6c 20 |ent for |Control | |00000390| 53 74 72 69 70 20 6d 6f | 64 75 6c 65 73 2e 20 49 |Strip mo|dules. I| |000003a0| 74 20 72 75 6e 73 20 6f | 6e 20 61 6e 79 20 4d 61 |t runs o|n any Ma| |000003b0| 63 69 6e 74 6f 73 68 20 | 50 6f 77 65 72 42 6f 6f |cintosh |PowerBoo| |000003c0| 6b 20 63 6f 6d 70 75 74 | 65 72 20 77 69 74 68 20 |k comput|er with | |000003d0| 53 79 73 74 65 6d 20 37 | 2e 30 20 6f 72 20 6c 61 |System 7|.0 or la| |000003e0| 74 65 72 2e 20 0d 54 68 | 65 20 43 6f 6e 74 72 6f |ter. .Th|e Contro| |000003f0| 6c 20 53 74 72 69 70 20 | 69 73 20 69 6d 70 6c 65 |l Strip |is imple| |00000400| 6d 65 6e 74 65 64 20 69 | 6e 20 61 20 70 72 69 76 |mented i|n a priv| |00000410| 61 74 65 20 6c 61 79 65 | 72 20 74 68 61 74 20 61 |ate laye|r that a| |00000420| 70 70 65 61 72 73 20 69 | 6e 20 66 72 6f 6e 74 20 |ppears i|n front | |00000430| 6f 66 20 74 68 65 20 77 | 69 6e 64 6f 77 73 20 69 |of the w|indows i| |00000440| 6e 20 61 6c 6c 20 74 68 | 65 20 61 70 70 6c 69 63 |n all th|e applic| |00000450| 61 74 69 6f 6e 20 6c 61 | 79 65 72 73 20 73 6f 20 |ation la|yers so | |00000460| 74 68 61 74 20 74 68 65 | 20 77 69 6e 64 6f 77 73 |that the| windows| |00000470| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 62 73 63 75 72 | will no|t obscur| |00000480| 65 20 69 74 2e 20 54 68 | 65 20 75 73 65 72 20 63 |e it. Th|e user c| |00000490| 61 6e 20 6d 6f 76 65 20 | 74 68 65 20 77 69 6e 64 |an move |the wind| |000004a0| 6f 77 20 66 6f 72 20 74 | 68 65 20 43 6f 6e 74 72 |ow for t|he Contr| |000004b0| 6f 6c 20 53 74 72 69 70 | 20 74 6f 20 61 6e 79 20 |ol Strip| to any | |000004c0| 6c 6f 63 61 74 69 6f 6e | 20 6f 6e 20 74 68 65 20 |location| on the | |000004d0| 64 69 73 70 6c 61 79 20 | 61 73 20 6c 6f 6e 67 20 |display |as long | |000004e0| 61 73 20 74 68 65 20 72 | 69 67 68 74 20 6f 72 20 |as the r|ight or | |000004f0| 6c 65 66 74 20 65 64 67 | 65 20 6f 66 20 74 68 65 |left edg|e of the| |00000500| 20 73 74 72 69 70 20 69 | 73 20 61 6e 63 68 6f 72 | strip i|s anchor| |00000510| 65 64 20 74 6f 20 74 68 | 65 20 72 69 67 68 74 20 |ed to th|e right | |00000520| 6f 72 20 6c 65 66 74 20 | 65 64 67 65 20 6f 66 20 |or left |edge of | |00000530| 74 68 65 20 64 69 73 70 | 6c 61 79 2e 20 20 46 69 |the disp|lay. Fi| |00000540| 67 75 72 65 20 31 20 73 | 68 6f 77 73 20 61 20 43 |gure 1 s|hows a C| |00000550| 6f 6e 74 72 6f 6c 20 53 | 74 72 69 70 20 66 75 6c |ontrol S|trip ful| |00000560| 6c 79 20 6f 70 65 6e 65 | 64 2c 20 77 69 74 68 20 |ly opene|d, with | |00000570| 73 6f 6d 65 20 69 6d 61 | 67 69 6e 61 72 79 20 6d |some ima|ginary m| |00000580| 6f 64 75 6c 65 73 20 61 | 64 64 65 64 2e 0d 46 69 |odules a|dded..Fi| |00000590| 67 75 72 65 20 31 09 43 | 6f 6e 74 72 6f 6c 20 53 |gure 1.C|ontrol S| |000005a0| 74 72 69 70 2c 20 6f 70 | 65 6e 65 64 20 0d 54 68 |trip, op|ened .Th| |000005b0| 65 20 43 6f 6e 74 72 6f | 6c 20 53 74 72 69 70 20 |e Contro|l Strip | |000005c0| 68 61 73 20 61 20 74 61 | 62 20 6f 6e 20 69 74 73 |has a ta|b on its| |000005d0| 20 75 6e 61 6e 63 68 6f | 72 65 64 20 65 6e 64 2e | unancho|red end.| |000005e0| 20 54 68 65 20 75 73 65 | 72 20 63 61 6e 20 64 72 | The use|r can dr| |000005f0| 61 67 20 74 68 65 20 74 | 61 62 20 74 6f 20 61 64 |ag the t|ab to ad| |00000600| 6a 75 73 74 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |just the| length | |00000610| 6f 66 20 74 68 65 20 73 | 74 72 69 70 20 6f 72 20 |of the s|trip or | |00000620| 68 6f 6c 64 20 64 6f 77 | 6e 20 74 68 65 20 4f 70 |hold dow|n the Op| |00000630| 74 69 6f 6e 20 6b 65 79 | 20 61 6e 64 20 64 72 61 |tion key| and dra| |00000640| 67 20 74 68 65 20 74 61 | 62 20 74 6f 20 6d 6f 76 |g the ta|b to mov| |00000650| 65 20 74 68 65 20 73 74 | 72 69 70 20 74 6f 20 61 |e the st|rip to a| |00000660| 20 6e 65 77 20 70 6f 73 | 69 74 69 6f 6e 2e 20 54 | new pos|ition. T| |00000670| 68 65 20 75 73 65 72 20 | 63 61 6e 20 72 65 64 75 |he user |can redu| |00000680| 63 65 20 74 68 65 20 43 | 6f 6e 74 72 6f 6c 20 53 |ce the C|ontrol S| |00000690| 74 72 69 70 20 74 6f 20 | 6a 75 73 74 20 64 69 73 |trip to |just dis| |000006a0| 70 6c 61 79 20 74 68 65 | 20 74 61 62 20 61 6c 6f |play the| tab alo| |000006b0| 6e 65 2c 20 62 79 20 63 | 6c 69 63 6b 69 6e 67 20 |ne, by c|licking | |000006c0| 74 68 65 20 74 61 62 2e | 20 43 6c 69 63 6b 69 6e |the tab.| Clickin| |000006d0| 67 20 74 68 65 20 74 61 | 62 20 77 68 65 6e 20 74 |g the ta|b when t| |000006e0| 68 65 20 43 6f 6e 74 72 | 6f 6c 20 53 74 72 69 70 |he Contr|ol Strip| |000006f0| 20 69 73 20 68 69 64 64 | 65 6e 20 6d 61 6b 65 73 | is hidd|en makes| |00000700| 20 74 68 65 20 43 6f 6e | 74 72 6f 6c 20 53 74 72 | the Con|trol Str| |00000710| 69 70 20 76 69 73 69 62 | 6c 65 20 61 67 61 69 6e |ip visib|le again| |00000720| 2e 20 0d 54 68 65 20 64 | 69 66 66 65 72 65 6e 74 |. .The d|ifferent| |00000730| 20 70 61 72 74 73 20 6f | 66 20 74 68 65 20 43 6f | parts o|f the Co| |00000740| 6e 74 72 6f 6c 20 53 74 | 72 69 70 20 65 69 74 68 |ntrol St|rip eith| |00000750| 65 72 20 64 69 73 70 6c | 61 79 20 73 74 61 74 75 |er displ|ay statu| |00000760| 73 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6f 72 |s inform|ation or| |00000770| 20 61 63 74 20 61 73 20 | 62 75 74 74 6f 6e 73 2e | act as |buttons.| |00000780| 20 57 68 65 6e 20 74 68 | 65 20 75 73 65 72 20 63 | When th|e user c| |00000790| 6c 69 63 6b 73 20 61 20 | 62 75 74 74 6f 6e 2c 20 |licks a |button, | |000007a0| 69 74 20 69 73 20 68 69 | 67 68 6c 69 67 68 74 65 |it is hi|ghlighte| |000007b0| 64 3b 20 73 6f 6d 65 20 | 62 75 74 74 6f 6e 73 20 |d; some |buttons | |000007c0| 61 6c 73 6f 20 64 69 73 | 70 6c 61 79 20 61 64 64 |also dis|play add| |000007d0| 69 74 69 6f 6e 61 6c 20 | 65 6c 65 6d 65 6e 74 73 |itional |elements| |000007e0| 20 73 75 63 68 20 61 73 | 20 70 6f 70 2d 75 70 20 | such as| pop-up | |000007f0| 6d 65 6e 75 73 2e 20 0d | 42 79 20 68 6f 6c 64 69 |menus. .|By holdi| |00000800| 6e 67 20 64 6f 77 6e 20 | 74 68 65 20 4f 70 74 69 |ng down |the Opti| |00000810| 6f 6e 20 6b 65 79 20 61 | 6e 64 20 63 6c 69 63 6b |on key a|nd click| |00000820| 69 6e 67 20 61 20 64 69 | 73 70 6c 61 79 20 61 72 |ing a di|splay ar| |00000830| 65 61 2c 20 74 68 65 20 | 75 73 65 72 20 63 61 6e |ea, the |user can| |00000840| 20 64 72 61 67 20 74 68 | 65 20 64 69 73 70 6c 61 | drag th|e displa| |00000850| 79 20 61 72 65 61 20 74 | 6f 20 61 6e 6f 74 68 65 |y area t|o anothe| |00000860| 72 20 70 6f 73 69 74 69 | 6f 6e 20 69 6e 20 74 68 |r positi|on in th| |00000870| 65 20 43 6f 6e 74 72 6f | 6c 20 53 74 72 69 70 2e |e Contro|l Strip.| |00000880| 0d 54 68 65 20 43 6f 6e | 74 72 6f 6c 20 53 74 72 |.The Con|trol Str| |00000890| 69 70 20 73 6f 66 74 77 | 61 72 65 20 70 72 6f 76 |ip softw|are prov| |000008a0| 69 64 65 73 20 61 20 73 | 74 61 6e 64 61 72 64 20 |ides a s|tandard | |000008b0| 73 63 72 65 65 6e 20 6c | 6f 63 61 74 69 6f 6e 20 |screen l|ocation | |000008c0| 66 6f 72 20 61 20 63 6f | 6c 6c 65 63 74 69 6f 6e |for a co|llection| |000008d0| 20 6f 66 20 69 6e 64 69 | 76 69 64 75 61 6c 20 6d | of indi|vidual m| |000008e0| 6f 64 75 6c 65 73 20 74 | 68 61 74 20 70 72 6f 76 |odules t|hat prov| |000008f0| 69 64 65 20 73 74 61 74 | 75 73 20 61 6e 64 20 63 |ide stat|us and c| |00000900| 6f 6e 74 72 6f 6c 20 66 | 75 6e 63 74 69 6f 6e 73 |ontrol f|unctions| |00000910| 2e 20 0d 41 64 64 69 6e | 67 20 43 6f 6e 74 72 6f |. .Addin|g Contro| |00000920| 6c 20 53 74 72 69 70 20 | 4d 6f 64 75 6c 65 73 0d |l Strip |Modules.| |00000930| 54 68 65 20 43 6f 6e 74 | 72 6f 6c 20 53 74 72 69 |The Cont|rol Stri| |00000940| 70 20 69 73 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |p is imp|lemented| |00000950| 20 69 6e 20 73 6f 66 74 | 77 61 72 65 20 61 73 20 | in soft|ware as | |00000960| 61 20 73 68 65 6c 6c 20 | 77 69 74 68 20 69 6e 64 |a shell |with ind| |00000970| 69 76 69 64 75 61 6c 20 | 63 6f 6e 74 72 6f 6c 20 |ividual |control | |00000980| 61 6e 64 20 73 74 61 74 | 75 73 20 6d 6f 64 75 6c |and stat|us modul| |00000990| 65 73 20 61 64 64 65 64 | 2e 20 54 68 65 20 43 6f |es added|. The Co| |000009a0| 6e 74 72 6f 6c 20 53 74 | 72 69 70 20 73 6f 66 74 |ntrol St|rip soft| |000009b0| 77 61 72 65 20 64 72 61 | 77 73 20 74 68 65 20 73 |ware dra|ws the s| |000009c0| 74 72 69 70 20 74 68 61 | 74 20 61 63 74 73 20 61 |trip tha|t acts a| |000009d0| 73 20 74 68 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |s the ba|ckground| |000009e0| 20 66 6f 72 20 74 68 65 | 20 69 6e 64 69 76 69 64 | for the| individ| |000009f0| 75 61 6c 20 6d 6f 64 75 | 6c 65 73 2e 20 45 61 63 |ual modu|les. Eac| |00000a00| 68 20 6d 6f 64 75 6c 65 | 20 69 73 20 72 65 73 70 |h module| is resp| |00000a10| 6f 6e 73 69 62 6c 65 20 | 66 6f 72 20 64 72 61 77 |onsible |for draw| |00000a20| 69 6e 67 20 74 68 65 20 | 69 63 6f 6e 73 20 61 6e |ing the |icons an| |00000a30| 64 20 6f 74 68 65 72 20 | 6f 62 6a 65 63 74 73 20 |d other |objects | |00000a40| 74 68 61 74 20 6d 61 6b | 65 20 75 70 20 69 74 73 |that mak|e up its| |00000a50| 20 75 73 65 72 20 69 6e | 74 65 72 66 61 63 65 2e | user in|terface.| |00000a60| 20 0d 43 6f 6e 74 65 6e | 74 73 20 6f 66 20 4d 6f | .Conten|ts of Mo| |00000a70| 64 75 6c 65 20 46 69 6c | 65 73 0d 54 68 65 20 6f |dule Fil|es.The o| |00000a80| 6e 6c 79 20 72 65 71 75 | 69 72 65 64 20 72 65 73 |nly requ|ired res| |00000a90| 6f 75 72 63 65 20 69 6e | 20 61 20 6d 6f 64 75 6c |ource in| a modul| |00000aa0| 65 20 66 69 6c 65 20 69 | 73 20 61 20 72 65 73 6f |e file i|s a reso| |00000ab0| 75 72 63 65 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |urce con|taining | |00000ac0| 74 68 65 20 63 6f 64 65 | 20 6e 65 63 65 73 73 61 |the code| necessa| |00000ad0| 72 79 20 66 6f 72 20 74 | 68 65 20 6d 6f 64 75 6c |ry for t|he modul| |00000ae0| 65 20 74 6f 20 69 6e 74 | 65 72 61 63 74 20 77 69 |e to int|eract wi| |00000af0| 74 68 20 74 68 65 20 43 | 6f 6e 74 72 6f 6c 20 53 |th the C|ontrol S| |00000b00| 74 72 69 70 2e 20 20 41 | 20 6d 6f 64 75 6c 65 20 |trip. A| module | |00000b10| 66 69 6c 65 20 6d 61 79 | 20 63 6f 6e 74 61 69 6e |file may| contain| |00000b20| 20 6d 6f 72 65 20 74 68 | 61 6e 20 6f 6e 65 20 63 | more th|an one c| |00000b30| 6f 64 65 20 72 65 73 6f | 75 72 63 65 20 69 66 20 |ode reso|urce if | |00000b40| 69 74 20 69 73 20 74 6f | 20 70 72 6f 76 69 64 65 |it is to| provide| |00000b50| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 6d 6f 72 | support| for mor| |00000b60| 65 20 74 68 61 6e 20 6f | 6e 65 20 66 75 6e 63 74 |e than o|ne funct| |00000b70| 69 6f 6e 2e 20 49 6e 20 | 74 68 61 74 20 63 61 73 |ion. In |that cas| |00000b80| 65 2c 20 65 61 63 68 20 | 6d 6f 64 75 6c 65 20 69 |e, each |module i| |00000b90| 6e 20 74 68 65 20 66 69 | 6c 65 20 69 73 20 6c 6f |n the fi|le is lo| |00000ba0| 61 64 65 64 20 61 6e 64 | 20 69 6e 69 74 69 61 6c |aded and| initial| |00000bb0| 69 7a 65 64 20 73 65 70 | 61 72 61 74 65 6c 79 20 |ized sep|arately | |00000bc0| 61 6e 64 20 74 72 65 61 | 74 65 64 20 61 73 20 61 |and trea|ted as a| |00000bd0| 6e 20 69 6e 64 65 70 65 | 6e 64 65 6e 74 20 65 6e |n indepe|ndent en| |00000be0| 74 69 74 79 2e 0d 49 66 | 20 61 20 66 69 6c 65 20 |tity..If| a file | |00000bf0| 63 6f 6e 74 61 69 6e 73 | 20 6f 6e 6c 79 20 61 20 |contains| only a | |00000c00| 73 69 6e 67 6c 65 20 63 | 6f 64 65 20 72 65 73 6f |single c|ode reso| |00000c10| 75 72 63 65 2c 20 74 68 | 65 20 72 65 73 6f 75 72 |urce, th|e resour| |00000c20| 63 65 20 6d 61 79 20 62 | 65 20 75 6e 6e 61 6d 65 |ce may b|e unname| |00000c30| 64 2c 20 61 6e 64 20 74 | 68 65 20 6d 6f 64 75 6c |d, and t|he modul| |00000c40| 65 20 77 69 6c 6c 20 62 | 65 20 72 65 66 65 72 65 |e will b|e refere| |00000c50| 6e 63 65 64 20 62 79 20 | 69 74 73 20 66 69 6c 65 |nced by |its file| |00000c60| 6e 61 6d 65 2e 20 49 66 | 20 6d 6f 72 65 20 74 68 |name. If| more th| |00000c70| 61 6e 20 6f 6e 65 20 6d | 6f 64 75 6c 65 20 69 73 |an one m|odule is| |00000c80| 20 63 6f 6e 74 61 69 6e | 65 64 20 77 69 74 68 69 | contain|ed withi| |00000c90| 6e 20 61 20 6d 6f 64 75 | 6c 65 20 66 69 6c 65 2c |n a modu|le file,| |00000ca0| 20 65 61 63 68 20 6d 6f | 64 75 6c 65 20 69 73 20 | each mo|dule is | |00000cb0| 72 65 71 75 69 72 65 64 | 20 74 6f 20 68 61 76 65 |required| to have| |00000cc0| 20 61 20 75 6e 69 71 75 | 65 20 6e 61 6d 65 20 64 | a uniqu|e name d| |00000cd0| 65 73 63 72 69 62 69 6e | 67 20 69 74 73 20 66 75 |escribin|g its fu| |00000ce0| 6e 63 74 69 6f 6e 61 6c | 69 74 79 2e 0d 41 6c 6c |nctional|ity..All| |00000cf0| 20 6f 74 68 65 72 20 72 | 65 73 6f 75 72 63 65 73 | other r|esources| |00000d00| 20 69 6e 20 61 20 6d 6f | 64 75 6c 65 20 66 69 6c | in a mo|dule fil| |00000d10| 65 20 61 72 65 20 6f 70 | 74 69 6f 6e 61 6c 2c 20 |e are op|tional, | |00000d20| 62 75 74 20 74 68 65 72 | 65 20 61 72 65 20 73 65 |but ther|e are se| |00000d30| 76 65 72 61 6c 20 74 68 | 61 74 20 61 72 65 20 72 |veral th|at are r| |00000d40| 65 63 6f 6d 6d 65 6e 64 | 65 64 20 69 6e 20 6f 72 |ecommend|ed in or| |00000d50| 64 65 72 20 74 6f 20 73 | 75 70 70 6f 72 74 20 61 |der to s|upport a| |00000d60| 20 63 75 73 74 6f 6d 20 | 69 63 6f 6e 20 61 6e 64 | custom |icon and| |00000d70| 20 76 65 72 73 69 6f 6e | 20 69 6e 66 6f 72 6d 61 | version| informa| |00000d80| 74 69 6f 6e 2e 20 54 68 | 65 20 72 65 63 6f 6d 6d |tion. Th|e recomm| |00000d90| 65 6e 64 65 64 20 72 65 | 73 6f 75 72 63 65 73 20 |ended re|sources | |00000da0| 61 72 65 0d a5 09 27 42 | 4e 44 4c 27 0d a5 09 27 |are...'B|NDL'...'| |00000db0| 46 52 45 46 27 0d a5 09 | 27 49 43 4e 23 27 2c 20 |FREF'...|'ICN#', | |00000dc0| 27 69 63 6c 34 27 2c 20 | 27 69 63 6c 38 27 2c 20 |'icl4', |'icl8', | |00000dd0| 27 69 63 73 23 27 2c 20 | 27 69 63 73 34 27 2c 20 |'ics#', |'ics4', | |00000de0| 27 69 63 73 38 27 0d a5 | 09 73 69 67 6e 61 74 75 |'ics8'..|.signatu| |00000df0| 72 65 20 72 65 73 6f 75 | 72 63 65 20 28 73 61 6d |re resou|rce (sam| |00000e00| 65 20 74 79 70 65 20 61 | 73 20 66 69 6c 65 d5 73 |e type a|s file.s| |00000e10| 20 63 72 65 61 74 6f 72 | 29 0d a5 09 27 76 65 72 | creator|)...'ver| |00000e20| 73 27 2c 20 49 44 3d 31 | 0d 44 65 76 65 6c 6f 70 |s', ID=1|.Develop| |00000e30| 65 72 73 20 73 68 6f 75 | 6c 64 20 63 6f 6e 66 69 |ers shou|ld confi| |00000e40| 6e 65 20 74 68 65 69 72 | 20 72 65 73 6f 75 72 63 |ne their| resourc| |00000e50| 65 73 20 74 6f 20 74 68 | 65 20 72 61 6e 67 65 20 |es to th|e range | |00000e60| 32 35 36 d0 33 32 37 36 | 37 2e 0d 4d 6f 64 75 6c |256.3276|7..Modul| |00000e70| 65 20 49 6e 74 65 72 66 | 61 63 65 0d 54 68 65 20 |e Interf|ace.The | |00000e80| 6d 6f 64 75 6c 65 d5 73 | 20 69 6e 74 65 72 66 61 |module.s| interfa| |00000e90| 63 65 20 74 6f 20 74 68 | 65 20 43 6f 6e 74 72 6f |ce to th|e Contro| |00000ea0| 6c 20 53 74 72 69 70 20 | 63 6f 6e 73 69 73 74 73 |l Strip |consists| |00000eb0| 20 6f 66 20 61 20 63 6f | 64 65 20 72 65 73 6f 75 | of a co|de resou| |00000ec0| 72 63 65 20 6f 66 20 74 | 79 70 65 20 27 73 64 65 |rce of t|ype 'sde| |00000ed0| 76 27 2e 20 20 54 68 69 | 73 20 63 6f 64 65 20 69 |v'. Thi|s code i| |00000ee0| 73 20 72 65 73 70 6f 6e | 73 69 62 6c 65 20 66 6f |s respon|sible fo| |00000ef0| 72 20 70 65 72 66 6f 72 | 6d 69 6e 67 20 61 6c 6c |r perfor|ming all| |00000f00| 20 6f 66 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | of the |function| |00000f10| 73 20 72 65 71 75 69 72 | 65 64 20 62 79 20 74 68 |s requir|ed by th| |00000f20| 65 20 43 6f 6e 74 72 6f | 6c 20 53 74 72 69 70 20 |e Contro|l Strip | |00000f30| 28 73 65 65 20 62 65 6c | 6f 77 29 20 61 73 20 77 |(see bel|ow) as w| |00000f40| 65 6c 6c 20 61 73 20 61 | 6e 79 20 66 75 6e 63 74 |ell as a|ny funct| |00000f50| 69 6f 6e 73 20 74 68 61 | 74 20 61 72 65 20 63 75 |ions tha|t are cu| |00000f60| 73 74 6f 6d 20 74 6f 20 | 74 68 65 20 6d 6f 64 75 |stom to |the modu| |00000f70| 6c 65 20 69 74 73 65 6c | 66 2e 20 54 68 65 20 6d |le itsel|f. The m| |00000f80| 6f 64 75 6c 65 d5 73 20 | 65 6e 74 72 79 20 70 6f |odule.s |entry po| |00000f90| 69 6e 74 20 69 73 20 61 | 74 20 74 68 65 20 62 65 |int is a|t the be| |00000fa0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 65 20 72 |ginning |of the r| |00000fb0| 65 73 6f 75 72 63 65 20 | 61 6e 64 20 69 73 20 64 |esource |and is d| |00000fc0| 65 66 69 6e 65 64 20 61 | 73 20 0d 70 61 73 63 61 |efined a|s .pasca| |00000fd0| 6c 20 6c 6f 6e 67 20 43 | 6f 6e 74 72 6f 6c 53 74 |l long C|ontrolSt| |00000fe0| 72 69 70 4d 6f 64 75 6c | 65 28 6c 6f 6e 67 20 6d |ripModul|e(long m| |00000ff0| 65 73 73 61 67 65 2c 0d | 20 20 20 20 20 20 20 20 |essage,.| | |00001000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00001010| 20 20 20 20 20 20 20 6c | 6f 6e 67 20 70 61 72 61 | l|ong para| |00001020| 6d 73 2c 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ms,. | | |00001030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00001040| 20 20 20 52 65 63 74 20 | 2a 73 74 61 74 75 73 52 | Rect |*statusR| |00001050| 65 63 74 2c 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ect,. | | |00001060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00001070| 20 20 20 20 47 72 61 66 | 50 74 72 20 73 74 61 74 | Graf|Ptr stat| |00001080| 75 73 50 6f 72 74 29 3b | 0d 49 6e 74 65 72 61 63 |usPort);|.Interac| |00001090| 74 69 6f 6e 73 20 62 65 | 74 77 65 65 6e 20 61 20 |tions be|tween a | |000010a0| 6d 6f 64 75 6c 65 20 61 | 6e 64 20 74 68 65 20 43 |module a|nd the C| |000010b0| 6f 6e 74 72 6f 6c 20 53 | 74 72 69 70 20 61 72 65 |ontrol S|trip are| |000010c0| 20 6d 61 6e 61 67 65 64 | 20 62 79 20 70 61 73 73 | managed| by pass| |000010d0| 69 6e 67 20 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |ing mess|ages to | |000010e0| 74 68 65 20 6d 6f 64 75 | 6c 65 20 74 6f 20 74 65 |the modu|le to te| |000010f0| 6c 6c 20 69 74 20 77 68 | 61 74 20 74 6f 20 64 6f |ll it wh|at to do| |00001100| 20 6f 72 20 74 6f 20 6f | 62 74 61 69 6e 20 69 6e | or to o|btain in| |00001110| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about | |00001120| 74 68 65 20 6d 6f 64 75 | 6c 65 20 61 6e 64 20 69 |the modu|le and i| |00001130| 74 73 20 63 61 70 61 62 | 69 6c 69 74 69 65 73 2e |ts capab|ilities.| |00001140| 20 20 45 61 63 68 20 6d | 6f 64 75 6c 65 20 69 73 | Each m|odule is| |00001150| 20 72 65 71 75 69 72 65 | 64 20 74 6f 20 6f 62 73 | require|d to obs| |00001160| 65 72 76 65 20 50 61 73 | 63 61 6c 20 72 65 67 69 |erve Pas|cal regi| |00001170| 73 74 65 72 20 73 61 76 | 69 6e 67 20 63 6f 6e 76 |ster sav|ing conv| |00001180| 65 6e 74 69 6f 6e 73 2e | 20 20 41 20 6d 6f 64 75 |entions.| A modu| |00001190| 6c 65 20 6d 61 79 20 74 | 72 61 73 68 20 72 65 67 |le may t|rash reg| |000011a0| 69 73 74 65 72 73 20 44 | 30 2c 20 44 31 2c 20 44 |isters D|0, D1, D| |000011b0| 32 2c 20 41 30 2c 20 61 | 6e 64 20 41 31 2c 20 62 |2, A0, a|nd A1, b| |000011c0| 75 74 20 6d 75 73 74 20 | 70 72 65 73 65 72 76 65 |ut must |preserve| |000011d0| 20 61 6c 6c 20 6f 74 68 | 65 72 20 72 65 67 69 73 | all oth|er regis| |000011e0| 74 65 72 73 20 61 63 72 | 6f 73 73 20 69 74 73 20 |ters acr|oss its | |000011f0| 63 61 6c 6c 2e 0d 46 69 | 65 6c 64 20 64 65 73 63 |call..Fi|eld desc| |00001200| 72 69 70 74 69 6f 6e 73 | 0d 6d 65 73 73 61 67 65 |riptions|.message| |00001210| 09 41 20 6d 65 73 73 61 | 67 65 20 6e 75 6d 62 65 |.A messa|ge numbe| |00001220| 72 2c 20 66 72 6f 6d 20 | 74 68 65 20 6c 69 73 74 |r, from |the list| |00001230| 20 69 6e 20 74 68 65 20 | 73 65 63 74 69 6f 6e 20 | in the |section | |00001240| d2 43 6f 6e 74 72 6f 6c | 20 53 74 72 69 70 20 4d |.Control| Strip M| |00001250| 6f 64 75 6c 65 20 4d 65 | 73 73 61 67 65 73 d3 2c |odule Me|ssages.,| |00001260| 20 74 68 61 74 20 74 65 | 6c 6c 73 20 74 68 65 20 | that te|lls the | |00001270| 6d 6f 64 75 6c 65 20 77 | 68 61 74 20 61 63 74 69 |module w|hat acti| |00001280| 6f 6e 20 74 6f 20 70 65 | 72 66 6f 72 6d 2e 0d 70 |on to pe|rform..p| |00001290| 61 72 61 6d 73 09 54 68 | 65 20 72 65 73 75 6c 74 |arams.Th|e result| |000012a0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 74 68 65 | returne|d by the| |000012b0| 20 69 6e 69 74 69 61 6c | 69 7a 65 20 63 61 6c 6c | initial|ize call| |000012c0| 20 74 6f 20 74 68 65 20 | 6d 6f 64 75 6c 65 2e 20 | to the |module. | |000012d0| 20 54 68 69 73 20 77 6f | 75 6c 64 20 74 79 70 69 | This wo|uld typi| |000012e0| 63 61 6c 6c 79 20 62 65 | 20 74 68 65 20 68 61 6e |cally be| the han| |000012f0| 64 6c 65 20 74 6f 20 74 | 68 65 20 6d 6f 64 75 6c |dle to t|he modul| |00001300| 65 d5 73 20 70 72 69 76 | 61 74 65 20 76 61 72 69 |e.s priv|ate vari| |00001310| 61 62 6c 65 73 2e 20 20 | 49 74 20 77 69 6c 6c 20 |ables. |It will | |00001320| 62 65 20 70 61 73 73 65 | 64 20 74 6f 20 74 68 65 |be passe|d to the| |00001330| 20 6d 6f 64 75 6c 65 20 | 6f 6e 20 61 6c 6c 20 73 | module |on all s| |00001340| 75 62 73 65 71 75 65 6e | 74 20 63 61 6c 6c 73 2e |ubsequen|t calls.| |00001350| 20 20 28 43 6f 6e 74 72 | 6f 6c 20 53 74 72 69 70 | (Contr|ol Strip| |00001360| 20 6d 6f 64 75 6c 65 73 | 20 61 72 65 20 63 6f 64 | modules| are cod| |00001370| 65 20 72 65 73 6f 75 72 | 63 65 73 2c 20 73 6f 20 |e resour|ces, so | |00001380| 74 68 65 79 20 6e 65 65 | 64 20 74 6f 20 75 73 65 |they nee|d to use| |00001390| 20 74 68 65 20 74 65 63 | 68 6e 69 71 75 65 73 20 | the tec|hniques | |000013a0| 64 65 73 63 72 69 62 65 | 64 20 69 6e 20 54 65 63 |describe|d in Tec| |000013b0| 68 20 4e 6f 74 65 20 50 | 54 20 33 35 20 2d 20 53 |h Note P|T 35 - S| |000013c0| 74 61 6e 64 2d 41 6c 6f | 6e 65 20 43 6f 64 65 2c |tand-Alo|ne Code,| |000013d0| 20 61 64 20 6e 61 75 73 | 65 61 6d 20 69 6e 20 6f | ad naus|eam in o| |000013e0| 72 64 65 72 20 74 6f 20 | 75 73 65 20 67 6c 6f 62 |rder to |use glob| |000013f0| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 2e 29 0d 73 |al varia|bles.).s| |00001400| 74 61 74 75 73 52 65 63 | 74 09 41 20 70 6f 69 6e |tatusRec|t.A poin| |00001410| 74 65 72 20 74 6f 20 61 | 20 72 65 63 74 61 6e 67 |ter to a| rectang| |00001420| 6c 65 20 64 65 66 69 6e | 69 6e 67 20 74 68 65 20 |le defin|ing the | |00001430| 61 72 65 61 20 74 68 61 | 74 20 61 20 6d 6f 64 75 |area tha|t a modu| |00001440| 6c 65 20 6d 61 79 20 64 | 72 61 77 20 77 69 74 68 |le may d|raw with| |00001450| 69 6e 2e 0d 73 74 61 74 | 75 73 50 6f 72 74 09 41 |in..stat|usPort.A| |00001460| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 74 68 65 20 | pointer| to the | |00001470| 43 6f 6e 74 72 6f 6c 20 | 53 74 72 69 70 d5 73 20 |Control |Strip.s | |00001480| 67 72 61 70 68 69 63 73 | 20 70 6f 72 74 2e 20 54 |graphics| port. T| |00001490| 68 69 73 20 77 69 6c 6c | 20 62 65 20 65 69 74 68 |his will| be eith| |000014a0| 65 72 20 61 20 63 6f 6c | 6f 72 20 6f 72 20 62 6c |er a col|or or bl| |000014b0| 61 63 6b 2d 61 6e 64 2d | 77 68 69 74 65 20 67 72 |ack-and-|white gr| |000014c0| 61 70 68 69 63 73 20 70 | 6f 72 74 20 64 65 70 65 |aphics p|ort depe| |000014d0| 6e 64 69 6e 67 20 6f 6e | 20 77 68 69 63 68 20 50 |nding on| which P| |000014e0| 6f 77 65 72 42 6f 6f 6b | 20 4d 6f 64 65 6c 20 74 |owerBook| Model t| |000014f0| 68 65 20 43 6f 6e 74 72 | 6f 6c 20 53 74 72 69 70 |he Contr|ol Strip| |00001500| 20 69 73 20 72 75 6e 6e | 69 6e 67 20 6f 6e 2e 0d | is runn|ing on..| |00001510| 54 68 65 20 72 65 73 75 | 6c 74 20 76 61 6c 75 65 |The resu|lt value| |00001520| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 74 68 65 | returne|d by the| |00001530| 20 6d 6f 64 75 6c 65 20 | 77 69 6c 6c 20 76 61 72 | module |will var| |00001540| 79 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 74 |y depend|ing on t| |00001550| 68 65 20 6d 65 73 73 61 | 67 65 20 73 65 6e 74 20 |he messa|ge sent | |00001560| 74 6f 20 69 74 2e 20 20 | 52 65 73 75 6c 74 73 20 |to it. |Results | |00001570| 66 6f 72 20 65 61 63 68 | 20 6d 65 73 73 61 67 65 |for each| message| |00001580| 20 61 72 65 20 64 65 73 | 63 72 69 62 65 64 20 69 | are des|cribed i| |00001590| 6e 20 74 68 65 20 73 65 | 63 74 69 6f 6e 73 20 6f |n the se|ctions o| |000015a0| 6e 20 74 68 65 20 69 6e | 64 69 76 69 64 75 61 6c |n the in|dividual| |000015b0| 20 6d 65 73 73 61 67 65 | 73 2e 0d 4d 6f 64 75 6c | message|s..Modul| |000015c0| 65 20 52 65 65 6e 74 72 | 61 6e 63 79 0d 41 6e 79 |e Reentr|ancy.Any| |000015d0| 20 6d 6f 64 75 6c 65 20 | 74 68 61 74 20 6d 61 6b | module |that mak| |000015e0| 65 73 20 63 61 6c 6c 73 | 20 74 6f 20 72 6f 75 74 |es calls| to rout| |000015f0| 69 6e 65 73 20 73 75 63 | 68 20 61 73 20 47 65 74 |ines suc|h as Get| |00001600| 4e 65 78 74 45 76 65 6e | 74 2c 20 4d 6f 64 61 6c |NextEven|t, Modal| |00001610| 44 69 61 6c 6f 67 20 6f | 72 20 50 6f 70 55 70 4d |Dialog o|r PopUpM| |00001620| 65 6e 75 53 65 6c 65 63 | 74 20 73 68 6f 75 6c 64 |enuSelec|t should| |00001630| 20 61 73 73 75 6d 65 20 | 74 68 61 74 20 69 74 20 | assume |that it | |00001640| 63 6f 75 6c 64 20 62 65 | 20 63 61 6c 6c 65 64 20 |could be| called | |00001650| 72 65 65 6e 74 72 61 6e | 74 6c 79 3b 20 74 68 61 |reentran|tly; tha| |00001660| 74 20 69 73 2c 20 74 68 | 65 20 6d 6f 64 75 6c 65 |t is, th|e module| |00001670| 20 63 6f 75 6c 64 20 62 | 65 20 63 61 6c 6c 65 64 | could b|e called| |00001680| 20 61 67 61 69 6e 20 77 | 68 69 6c 65 20 74 68 65 | again w|hile the| |00001690| 20 69 6e 69 74 69 61 6c | 20 63 61 6c 6c 20 69 73 | initial| call is| |000016a0| 20 73 74 69 6c 6c 20 69 | 6e 20 70 72 6f 67 72 65 | still i|n progre| |000016b0| 73 73 2e 20 20 53 69 74 | 75 61 74 69 6f 6e 73 20 |ss. Sit|uations | |000016c0| 74 6f 20 61 76 6f 69 64 | 20 61 72 65 20 73 75 63 |to avoid| are suc| |000016d0| 68 20 74 68 69 6e 67 73 | 20 61 73 20 72 65 75 73 |h things| as reus| |000016e0| 69 6e 67 20 61 20 73 69 | 6e 67 6c 65 20 70 61 72 |ing a si|ngle par| |000016f0| 61 6d 65 74 65 72 20 62 | 6c 6f 63 6b 20 66 6f 72 |ameter b|lock for| |00001700| 20 6d 75 6c 74 69 70 6c | 65 20 63 61 6c 6c 73 2e | multipl|e calls.| |00001710| 20 20 0d 49 6e 73 74 65 | 61 64 20 6f 66 20 75 73 | .Inste|ad of us| |00001720| 69 6e 67 20 61 20 73 69 | 6e 67 6c 65 20 70 61 72 |ing a si|ngle par| |00001730| 61 6d 65 74 65 72 20 62 | 6c 6f 63 6b 2c 20 69 74 |ameter b|lock, it| |00001740| d5 73 20 62 65 74 74 65 | 72 2c 20 69 66 20 70 6f |.s bette|r, if po| |00001750| 73 73 69 62 6c 65 2c 20 | 74 6f 20 61 6c 6c 6f 63 |ssible, |to alloc| |00001760| 61 74 65 20 74 68 65 20 | 70 61 72 61 6d 65 74 65 |ate the |paramete| |00001770| 72 20 62 6c 6f 63 6b 20 | 6f 6e 20 74 68 65 20 73 |r block |on the s| |00001780| 74 61 63 6b 2e 20 20 49 | 6e 20 74 68 65 20 63 61 |tack. I|n the ca| |00001790| 73 65 20 6f 66 20 61 73 | 79 6e 63 68 72 6f 6e 6f |se of as|ynchrono| |000017a0| 75 73 20 63 61 6c 6c 73 | 2c 20 75 73 69 6e 67 20 |us calls|, using | |000017b0| 74 68 65 20 73 74 61 63 | 6b 20 63 6f 75 6c 64 20 |the stac|k could | |000017c0| 63 61 75 73 65 20 70 72 | 6f 62 6c 65 6d 73 3b 20 |cause pr|oblems; | |000017d0| 69 6e 20 74 68 61 74 20 | 63 61 73 65 2c 20 70 72 |in that |case, pr| |000017e0| 65 76 65 6e 74 69 6e 67 | 20 74 68 65 20 62 6c 6f |eventing| the blo| |000017f0| 63 6b d5 73 20 72 65 75 | 73 65 20 73 68 6f 75 6c |ck.s reu|se shoul| |00001800| 64 20 62 65 20 73 75 66 | 66 69 63 69 65 6e 74 2e |d be suf|ficient.| |00001810| 20 20 0d 49 66 20 79 6f | 75 20 6e 65 65 64 20 74 | .If yo|u need t| |00001820| 6f 20 6c 6f 63 6b 20 61 | 6e 64 20 75 6e 6c 6f 63 |o lock a|nd unloc| |00001830| 6b 20 79 6f 75 72 20 67 | 6c 6f 62 61 6c 20 76 61 |k your g|lobal va| |00001840| 72 69 61 62 6c 65 73 2c | 20 69 74 d5 73 20 62 65 |riables,| it.s be| |00001850| 74 74 65 72 20 74 6f 20 | 75 73 65 20 48 47 65 74 |tter to |use HGet| |00001860| 53 74 61 74 65 20 61 6e | 64 20 48 4c 6f 63 6b 20 |State an|d HLock | |00001870| 61 74 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |at the b|eginning| |00001880| 20 6f 66 20 74 68 65 20 | 63 61 6c 6c 2c 20 61 6e | of the |call, an| |00001890| 64 20 48 53 65 74 53 74 | 61 74 65 20 61 74 20 74 |d HSetSt|ate at t| |000018a0| 68 65 20 65 6e 64 2c 20 | 73 6f 20 74 68 61 74 20 |he end, |so that | |000018b0| 74 68 65 20 73 74 61 74 | 65 20 69 73 20 72 65 73 |the stat|e is res| |000018c0| 74 6f 72 65 64 20 74 6f | 20 77 68 61 74 20 69 74 |tored to| what it| |000018d0| 20 77 61 73 20 6f 6e 20 | 65 6e 74 72 79 2e 20 0d | was on |entry. .| |000018e0| 43 6f 6e 74 72 6f 6c 20 | 53 74 72 69 70 20 4d 6f |Control |Strip Mo| |000018f0| 64 75 6c 65 20 52 65 66 | 65 72 65 6e 63 65 0d 43 |dule Ref|erence.C| |00001900| 6f 6e 74 72 6f 6c 20 73 | 74 72 69 70 20 6d 6f 64 |ontrol s|trip mod| |00001910| 75 6c 65 73 20 69 6e 74 | 65 72 61 63 74 20 77 69 |ules int|eract wi| |00001920| 74 68 20 74 68 65 20 43 | 6f 6e 74 72 6f 6c 20 53 |th the C|ontrol S| |00001930| 74 72 69 70 20 73 6f 66 | 74 77 61 72 65 20 69 6e |trip sof|tware in| |00001940| 20 74 68 72 65 65 20 77 | 61 79 73 3a 20 62 79 20 | three w|ays: by | |00001950| 61 63 63 65 70 74 69 6e | 67 20 6d 65 73 73 61 67 |acceptin|g messag| |00001960| 65 73 2c 20 62 79 20 63 | 61 6c 6c 69 6e 67 20 75 |es, by c|alling u| |00001970| 74 69 6c 69 74 79 20 72 | 6f 75 74 69 6e 65 73 2c |tility r|outines,| |00001980| 20 61 6e 64 20 62 79 20 | 63 61 6c 6c 69 6e 67 20 | and by |calling | |00001990| 47 65 73 74 61 6c 74 20 | 73 65 6c 65 63 74 6f 72 |Gestalt |selector| |000019a0| 73 2e 20 54 68 65 20 6e | 65 78 74 20 74 68 72 65 |s. The n|ext thre| |000019b0| 65 20 73 65 63 74 69 6f | 6e 73 20 64 65 73 63 72 |e sectio|ns descr| |000019c0| 69 62 65 20 65 61 63 68 | 20 6f 66 20 74 68 6f 73 |ibe each| of thos| |000019d0| 65 20 69 6e 74 65 72 61 | 63 74 69 6f 6e 73 2e 20 |e intera|ctions. | |000019e0| 0d 43 6f 6e 74 72 6f 6c | 20 53 74 72 69 70 20 4d |.Control| Strip M| |000019f0| 6f 64 75 6c 65 20 4d 65 | 73 73 61 67 65 73 20 0d |odule Me|ssages .| |00001a00| 41 6c 6c 20 43 6f 6e 74 | 72 6f 6c 20 53 74 72 69 |All Cont|rol Stri| |00001a10| 70 20 6d 6f 64 75 6c 65 | 73 20 6d 75 73 74 20 72 |p module|s must r| |00001a20| 65 73 70 6f 6e 64 20 74 | 6f 20 6d 65 73 73 61 67 |espond t|o messag| |00001a30| 65 73 20 66 72 6f 6d 20 | 74 68 65 20 43 6f 6e 74 |es from |the Cont| |00001a40| 72 6f 6c 20 53 74 72 69 | 70 2e 20 54 68 65 20 66 |rol Stri|p. The f| |00001a50| 6f 6c 6c 6f 77 69 6e 67 | 20 6d 65 73 73 61 67 65 |ollowing| message| |00001a60| 73 20 68 61 76 65 20 62 | 65 65 6e 20 64 65 66 69 |s have b|een defi| |00001a70| 6e 65 64 3a 20 0d 4d 65 | 73 73 61 67 65 20 6e 61 |ned: .Me|ssage na| |00001a80| 6d 65 09 6e 75 6d 62 65 | 72 09 44 65 73 63 72 69 |me.numbe|r.Descri| |00001a90| 70 74 69 6f 6e 09 0d 73 | 64 65 76 49 6e 69 74 4d |ption..s|devInitM| |00001aa0| 6f 64 75 6c 65 09 30 09 | 49 6e 69 74 69 61 6c 69 |odule.0.|Initiali| |00001ab0| 7a 65 20 74 68 65 20 6d | 6f 64 75 6c 65 09 0d 73 |ze the m|odule..s| |00001ac0| 64 65 76 43 6c 6f 73 65 | 4d 6f 64 75 6c 65 09 31 |devClose|Module.1| |00001ad0| 09 43 6c 65 61 6e 20 75 | 70 20 62 65 66 6f 72 65 |.Clean u|p before| |00001ae0| 20 62 65 69 6e 67 20 63 | 6c 6f 73 65 64 09 0d 73 | being c|losed..s| |00001af0| 64 65 76 46 65 61 74 75 | 72 65 73 09 32 09 52 65 |devFeatu|res.2.Re| |00001b00| 74 75 72 6e 20 74 68 65 | 20 66 65 61 74 75 72 65 |turn the| feature| |00001b10| 20 62 69 74 73 09 0d 73 | 64 65 76 47 65 74 44 69 | bits..s|devGetDi| |00001b20| 73 70 6c 61 79 57 69 64 | 74 68 09 33 09 52 65 74 |splayWid|th.3.Ret| |00001b30| 75 72 6e 20 74 68 65 20 | 77 69 64 74 68 20 6f 66 |urn the |width of| |00001b40| 20 74 68 65 20 6d 6f 64 | 75 6c 65 d5 73 20 64 69 | the mod|ule.s di| |00001b50| 73 70 6c 61 79 09 0d 73 | 64 65 76 50 65 72 69 6f |splay..s|devPerio| |00001b60| 64 69 63 54 69 63 6b 6c | 65 09 34 09 50 65 72 69 |dicTickl|e.4.Peri| |00001b70| 6f 64 69 63 61 6c 6c 79 | 20 63 61 6c 6c 65 64 20 |odically| called | |00001b80| 77 68 65 6e 20 6e 6f 74 | 68 69 6e 67 20 65 6c 73 |when not|hing els| |00001b90| 65 20 69 73 20 68 61 70 | 70 65 6e 69 6e 67 09 0d |e is hap|pening..| |00001ba0| 73 64 65 76 44 72 61 77 | 53 74 61 74 75 73 09 35 |sdevDraw|Status.5| |00001bb0| 09 55 70 64 61 74 65 20 | 74 68 65 20 69 6e 74 65 |.Update |the inte| |00001bc0| 72 66 61 63 65 20 69 6e | 20 74 68 65 20 43 6f 6e |rface in| the Con| |00001bd0| 74 72 6f 6c 20 53 74 72 | 69 70 09 0d 73 64 65 76 |trol Str|ip..sdev| |00001be0| 4d 6f 75 73 65 43 6c 69 | 63 6b 09 36 09 55 73 65 |MouseCli|ck.6.Use| |00001bf0| 72 20 68 61 73 20 63 6c | 69 63 6b 65 64 20 6f 6e |r has cl|icked on| |00001c00| 20 74 68 65 20 6d 6f 64 | 75 6c 65 d5 73 20 64 69 | the mod|ule.s di| |00001c10| 73 70 6c 61 79 20 61 72 | 65 61 09 0d 73 64 65 76 |splay ar|ea..sdev| |00001c20| 53 61 76 65 53 65 74 74 | 69 6e 67 73 09 37 09 53 |SaveSett|ings.7.S| |00001c30| 61 76 65 20 61 6e 79 20 | 63 68 61 6e 67 65 64 20 |ave any |changed | |00001c40| 73 65 74 74 69 6e 67 73 | 20 69 6e 20 74 68 65 20 |settings| in the | |00001c50| 6d 6f 64 75 6c 65 d5 73 | 20 70 72 65 66 65 72 65 |module.s| prefere| |00001c60| 6e 63 65 73 20 66 69 6c | 65 0d 73 64 65 76 53 68 |nces fil|e.sdevSh| |00001c70| 6f 77 42 61 6c 6c 6f 6f | 6e 48 65 6c 70 09 38 09 |owBalloo|nHelp.8.| |00001c80| 44 69 73 70 6c 61 79 20 | 61 20 68 65 6c 70 20 62 |Display |a help b| |00001c90| 61 6c 6c 6f 6f 6e 2c 20 | 69 66 20 74 68 65 20 6d |alloon, |if the m| |00001ca0| 6f 64 75 6c 65 20 68 61 | 73 20 6f 6e 65 20 09 0d |odule ha|s one ..| |00001cb0| 20 0d 73 64 65 76 49 6e | 69 74 4d 6f 64 75 6c 65 | .sdevIn|itModule| |00001cc0| 20 0d 54 68 65 20 73 64 | 65 76 49 6e 69 74 4d 6f | .The sd|evInitMo| |00001cd0| 64 75 6c 65 20 6d 65 73 | 73 61 67 65 20 69 73 20 |dule mes|sage is | |00001ce0| 74 68 65 20 66 69 72 73 | 74 20 6d 65 73 73 61 67 |the firs|t messag| |00001cf0| 65 20 73 65 6e 74 20 74 | 6f 20 61 20 6d 6f 64 75 |e sent t|o a modu| |00001d00| 6c 65 20 61 66 74 65 72 | 20 74 68 65 20 6d 6f 64 |le after| the mod| |00001d10| 75 6c 65 20 68 61 73 20 | 62 65 65 6e 20 6c 6f 61 |ule has |been loa| |00001d20| 64 65 64 20 66 72 6f 6d | 20 69 74 73 20 66 69 6c |ded from| its fil| |00001d30| 65 2e 20 20 49 6e 69 74 | 69 61 6c 69 7a 61 74 69 |e. Init|ializati| |00001d40| 6f 6e 20 61 6c 6c 6f 77 | 73 20 74 68 65 20 6d 6f |on allow|s the mo| |00001d50| 64 75 6c 65 20 74 6f 20 | 69 6e 69 74 69 61 6c 69 |dule to |initiali| |00001d60| 7a 65 20 69 74 73 20 76 | 61 72 69 61 62 6c 65 73 |ze its v|ariables| |00001d70| 20 61 6e 64 20 74 6f 20 | 64 65 74 65 72 6d 69 6e | and to |determin| |00001d80| 65 20 77 68 65 74 68 65 | 72 20 69 74 20 63 61 6e |e whethe|r it can| |00001d90| 20 72 75 6e 20 6f 6e 20 | 61 20 70 61 72 74 69 63 | run on |a partic| |00001da0| 75 6c 61 72 20 6d 61 63 | 68 69 6e 65 3a 20 66 6f |ular mac|hine: fo| |00001db0| 72 20 65 78 61 6d 70 6c | 65 2c 20 69 66 20 74 68 |r exampl|e, if th| |00001dc0| 65 20 6d 6f 64 75 6c 65 | d5 73 20 66 75 6e 63 74 |e module|.s funct| |00001dd0| 69 6f 6e 20 69 73 20 74 | 6f 20 64 69 73 70 6c 61 |ion is t|o displa| |00001de0| 79 20 62 61 74 74 65 72 | 79 20 69 6e 66 6f 72 6d |y batter|y inform| |00001df0| 61 74 69 6f 6e 20 69 74 | 20 63 61 6e 20 72 75 6e |ation it| can run| |00001e00| 20 6f 6e 6c 79 20 6f 6e | 20 61 20 50 6f 77 65 72 | only on| a Power| |00001e10| 42 6f 6f 6b 2e 0d 54 68 | 65 20 6d 6f 64 75 6c 65 |Book..Th|e module| |00001e20| 20 6e 65 65 64 73 20 74 | 6f 20 6c 6f 61 64 20 61 | needs t|o load a| |00001e30| 6e 64 20 64 65 74 61 63 | 68 20 61 6e 79 20 72 65 |nd detac|h any re| |00001e40| 73 6f 75 72 63 65 73 20 | 69 6e 20 74 68 65 20 6d |sources |in the m| |00001e50| 6f 64 75 6c 65 d5 73 20 | 72 65 73 6f 75 72 63 65 |odule.s |resource| |00001e60| 20 66 69 6c 65 20 74 68 | 61 74 20 77 69 6c 6c 20 | file th|at will | |00001e70| 62 65 20 75 73 65 64 2c | 20 62 65 63 61 75 73 65 |be used,| because| |00001e80| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 66 69 | the res|ource fi| |00001e90| 6c 65 20 77 69 6c 6c 20 | 6e 6f 74 20 62 65 20 6b |le will |not be k| |00001ea0| 65 70 74 20 70 65 72 6d | 61 6e 65 6e 74 6c 79 20 |ept perm|anently | |00001eb0| 6f 70 65 6e 2e 20 57 68 | 61 74 20 74 68 61 74 20 |open. Wh|at that | |00001ec0| 6d 65 61 6e 73 20 69 73 | 20 74 68 61 74 20 79 6f |means is| that yo| |00001ed0| 75 72 20 63 6f 64 65 20 | 63 61 6e 27 74 20 75 73 |ur code |can't us| |00001ee0| 65 20 47 65 74 52 65 73 | 6f 75 72 63 65 28 29 20 |e GetRes|ource() | |00001ef0| 6f 72 20 74 68 65 20 6c | 69 6b 65 20 74 6f 20 72 |or the l|ike to r| |00001f00| 65 74 72 69 65 76 65 20 | 74 68 65 20 68 61 6e 64 |etrieve |the hand| |00001f10| 6c 65 20 74 6f 20 6f 6e | 65 20 6f 66 20 74 68 65 |le to on|e of the| |00001f20| 20 6d 6f 64 75 6c 65 27 | 73 20 72 65 73 6f 75 72 | module'|s resour| |00001f30| 63 65 73 20 6f 6e 20 61 | 20 73 75 62 73 65 71 75 |ces on a| subsequ| |00001f40| 65 6e 74 20 63 61 6c 6c | 2e 20 20 54 79 70 69 63 |ent call|. Typic| |00001f50| 61 6c 6c 79 20 79 6f 75 | 20 77 6f 75 6c 64 20 61 |ally you| would a| |00001f60| 6c 6c 6f 63 61 74 65 20 | 73 70 61 63 65 20 69 6e |llocate |space in| |00001f70| 20 79 6f 75 72 20 67 6c | 6f 62 61 6c 20 76 61 72 | your gl|obal var| |00001f80| 69 61 62 6c 65 73 20 66 | 6f 72 20 68 61 6e 64 6c |iables f|or handl| |00001f90| 65 73 20 74 6f 20 74 68 | 6f 73 65 20 64 65 74 61 |es to th|ose deta| |00001fa0| 63 68 65 64 20 72 65 73 | 6f 75 72 63 65 73 2e 0d |ched res|ources..| |00001fb0| 54 68 65 20 73 64 65 76 | 49 6e 69 74 4d 6f 64 75 |The sdev|InitModu| |00001fc0| 6c 65 20 6d 65 73 73 61 | 67 65 20 72 65 74 75 72 |le messa|ge retur| |00001fd0| 6e 73 20 61 20 72 65 73 | 75 6c 74 20 64 65 70 65 |ns a res|ult depe| |00001fe0| 6e 64 69 6e 67 20 6f 6e | 20 69 74 73 20 73 75 63 |nding on| its suc| |00001ff0| 63 65 73 73 20 61 74 20 | 69 6e 73 74 61 6c 6c 69 |cess at |installi| |00002000| 6e 67 20 69 74 73 65 6c | 66 2e 20 20 41 20 70 6f |ng itsel|f. A po| |00002010| 73 69 74 69 76 65 20 72 | 65 73 75 6c 74 20 28 b3 |sitive r|esult (.| |00002020| 30 29 20 69 6e 64 69 63 | 61 74 65 73 20 73 75 63 |0) indic|ates suc| |00002030| 63 65 73 73 66 75 6c 20 | 69 6e 73 74 61 6c 6c 61 |cessful |installa| |00002040| 74 69 6f 6e 2e 20 20 54 | 68 69 73 20 72 65 73 75 |tion. T|his resu| |00002050| 6c 74 20 76 61 6c 75 65 | 20 77 69 6c 6c 20 62 65 |lt value| will be| |00002060| 20 70 61 73 73 65 64 20 | 74 6f 20 74 68 65 20 6d | passed |to the m| |00002070| 6f 64 75 6c 65 20 6f 6e | 20 61 6c 6c 20 73 75 62 |odule on| all sub| |00002080| 73 65 71 75 65 6e 74 20 | 63 61 6c 6c 73 2e 20 20 |sequent |calls. | |00002090| 41 20 6e 65 67 61 74 69 | 76 65 20 72 65 73 75 6c |A negati|ve resul| |000020a0| 74 20 69 6e 64 69 63 61 | 74 65 73 20 61 6e 20 65 |t indica|tes an e| |000020b0| 72 72 6f 72 20 63 6f 6e | 64 69 74 69 6f 6e 2c 20 |rror con|dition, | |000020c0| 61 6e 64 20 69 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |and inst|allation| |000020d0| 20 6f 66 20 74 68 65 20 | 6d 6f 64 75 6c 65 20 69 | of the |module i| |000020e0| 73 20 61 62 6f 72 74 65 | 64 20 62 79 20 74 68 65 |s aborte|d by the| |000020f0| 20 43 6f 6e 74 72 6f 6c | 20 53 74 72 69 70 20 73 | Control| Strip s| |00002100| 6f 66 74 77 61 72 65 2e | 20 20 54 68 65 20 6d 6f |oftware.| The mo| |00002110| 64 75 6c 65 20 77 69 6c | 6c 20 6e 6f 74 20 72 65 |dule wil|l not re| |00002120| 63 65 69 76 65 20 61 20 | 63 6c 6f 73 65 20 6d 65 |ceive a |close me| |00002130| 73 73 61 67 65 20 77 68 | 65 6e 20 69 6e 73 74 61 |ssage wh|en insta| |00002140| 6c 6c 61 74 69 6f 6e 20 | 68 61 73 20 62 65 65 6e |llation |has been| |00002150| 20 61 62 6f 72 74 65 64 | 2e 0d 73 64 65 76 43 6c | aborted|..sdevCl| |00002160| 6f 73 65 4d 6f 64 75 6c | 65 20 0d 54 68 65 20 73 |oseModul|e .The s| |00002170| 64 65 76 43 6c 6f 73 65 | 4d 6f 64 75 6c 65 20 6d |devClose|Module m| |00002180| 65 73 73 61 67 65 20 69 | 73 20 73 65 6e 74 20 74 |essage i|s sent t| |00002190| 6f 20 61 20 6d 6f 64 75 | 6c 65 20 77 68 65 6e 20 |o a modu|le when | |000021a0| 69 74 20 73 68 6f 75 6c | 64 20 62 65 20 63 6c 6f |it shoul|d be clo| |000021b0| 73 65 64 2e 20 20 54 79 | 70 69 63 61 6c 6c 79 20 |sed. Ty|pically | |000021c0| 74 68 65 20 6d 6f 64 75 | 6c 65 20 69 74 73 65 6c |the modu|le itsel| |000021d0| 66 20 77 69 6c 6c 20 64 | 65 63 69 64 65 20 77 68 |f will d|ecide wh| |000021e0| 65 6e 20 74 68 69 73 20 | 6f 75 67 68 74 20 74 6f |en this |ought to| |000021f0| 20 68 61 70 70 65 6e 2e | 20 20 57 68 65 6e 20 74 | happen.| When t| |00002200| 68 65 20 6d 6f 64 75 6c | 65 20 72 65 63 65 69 76 |he modul|e receiv| |00002210| 65 73 20 74 68 69 73 20 | 6d 65 73 73 61 67 65 2c |es this |message,| |00002220| 20 69 74 20 73 68 6f 75 | 6c 64 20 64 69 73 70 6f | it shou|ld dispo| |00002230| 73 65 20 6f 66 20 61 6c | 6c 20 74 68 65 20 64 65 |se of al|l the de| |00002240| 74 61 63 68 65 64 20 72 | 65 73 6f 75 72 63 65 73 |tached r|esources| |00002250| 20 69 74 20 6c 6f 61 64 | 65 64 20 61 73 20 77 65 | it load|ed as we| |00002260| 6c 6c 20 61 73 20 69 74 | 73 20 67 6c 6f 62 61 6c |ll as it|s global| |00002270| 20 73 74 6f 72 61 67 65 | 2e 20 20 4e 6f 20 72 65 | storage|. No re| |00002280| 73 75 6c 74 20 69 73 20 | 65 78 70 65 63 74 65 64 |sult is |expected| |00002290| 2e 0d 73 64 65 76 46 65 | 61 74 75 72 65 73 20 0d |..sdevFe|atures .| |000022a0| 54 68 65 20 73 64 65 76 | 46 65 61 74 75 72 65 73 |The sdev|Features| |000022b0| 20 6d 65 73 73 61 67 65 | 20 71 75 65 72 69 65 73 | message| queries| |000022c0| 20 74 68 65 20 6d 6f 64 | 75 6c 65 20 66 6f 72 20 | the mod|ule for | |000022d0| 74 68 65 20 66 65 61 74 | 75 72 65 73 20 69 74 20 |the feat|ures it | |000022e0| 73 75 70 70 6f 72 74 73 | 2e 20 20 49 74 20 72 65 |supports|. It re| |000022f0| 74 75 72 6e 73 20 61 73 | 20 69 74 73 20 72 65 73 |turns as| its res| |00002300| 75 6c 74 20 61 20 6c 6f | 6e 67 20 63 6f 6e 73 69 |ult a lo|ng consi| |00002310| 73 74 69 6e 67 20 6f 66 | 20 31 20 62 69 74 73 20 |sting of| 1 bits | |00002320| 66 6f 72 20 73 75 70 70 | 6f 72 74 65 64 20 66 65 |for supp|orted fe| |00002330| 61 74 75 72 65 73 20 61 | 6e 64 20 30 20 62 69 74 |atures a|nd 0 bit| |00002340| 73 20 66 6f 72 20 75 6e | 73 75 70 70 6f 72 74 65 |s for un|supporte| |00002350| 64 20 66 65 61 74 75 72 | 65 73 2e 20 20 41 6c 6c |d featur|es. All| |00002360| 20 75 6e 64 65 66 69 6e | 65 64 20 62 69 74 73 20 | undefin|ed bits | |00002370| 61 72 65 20 72 65 73 65 | 72 76 65 64 20 62 79 20 |are rese|rved by | |00002380| 41 70 70 6c 65 20 66 6f | 72 20 66 75 74 75 72 65 |Apple fo|r future| |00002390| 20 66 65 61 74 75 72 65 | 73 2c 20 61 6e 64 20 6d | feature|s, and m| |000023a0| 75 73 74 20 62 65 20 73 | 65 74 20 74 6f 20 30 2e |ust be s|et to 0.| |000023b0| 20 20 54 68 65 20 62 69 | 74 73 20 61 72 65 20 64 | The bi|ts are d| |000023c0| 65 66 69 6e 65 64 20 61 | 73 20 0d 73 64 65 76 57 |efined a|s .sdevW| |000023d0| 61 6e 74 4d 6f 75 73 65 | 43 6c 69 63 6b 73 09 30 |antMouse|Clicks.0| |000023e0| 09 49 66 20 74 68 69 73 | 20 62 69 74 20 69 73 20 |.If this| bit is | |000023f0| 73 65 74 2c 20 74 68 65 | 20 43 6f 6e 74 72 6f 6c |set, the| Control| |00002400| 20 53 74 72 69 70 20 77 | 69 6c 6c 20 6e 6f 74 69 | Strip w|ill noti| |00002410| 66 79 20 74 68 65 20 6d | 6f 64 75 6c 65 20 6f 66 |fy the m|odule of| |00002420| 20 6d 6f 75 73 65 20 64 | 6f 77 6e 20 65 76 65 6e | mouse d|own even| |00002430| 74 73 2e 20 20 49 66 20 | 74 68 69 73 20 62 69 74 |ts. If |this bit| |00002440| 20 69 73 20 6e 6f 74 20 | 73 65 74 2c 20 74 68 65 | is not |set, the| |00002450| 20 43 6f 6e 74 72 6f 6c | 20 53 74 72 69 70 20 61 | Control| Strip a| |00002460| 73 73 75 6d 65 73 20 74 | 68 61 74 20 74 68 65 20 |ssumes t|hat the | |00002470| 6d 6f 64 75 6c 65 20 6f | 6e 6c 79 20 64 69 73 70 |module o|nly disp| |00002480| 6c 61 79 73 20 73 74 61 | 74 75 73 20 69 6e 66 6f |lays sta|tus info| |00002490| 72 6d 61 74 69 6f 6e 20 | 77 69 74 68 20 6e 6f 20 |rmation |with no | |000024a0| 75 73 65 72 20 69 6e 74 | 65 72 61 63 74 69 6f 6e |user int|eraction| |000024b0| 2e 0d 73 64 65 76 44 6f | 6e 74 41 75 74 6f 54 72 |..sdevDo|ntAutoTr| |000024c0| 61 63 6b 09 31 09 49 66 | 20 74 68 69 73 20 62 69 |ack.1.If| this bi| |000024d0| 74 20 69 73 20 73 65 74 | 2c 20 74 68 65 20 43 6f |t is set|, the Co| |000024e0| 6e 74 72 6f 6c 20 53 74 | 72 69 70 20 68 69 67 68 |ntrol St|rip high| |000024f0| 6c 69 67 68 74 73 20 74 | 68 65 20 6d 6f 64 75 6c |lights t|he modul| |00002500| 65 d5 73 20 64 69 73 70 | 6c 61 79 20 61 6e 64 20 |e.s disp|lay and | |00002510| 74 68 65 6e 20 63 61 6c | 6c 73 20 74 68 65 20 6d |then cal|ls the m| |00002520| 6f 64 75 6c 65 20 74 6f | 20 70 65 72 66 6f 72 6d |odule to| perform| |00002530| 20 6d 6f 75 73 65 20 74 | 72 61 63 6b 69 6e 67 3b | mouse t|racking;| |00002540| 20 74 68 69 73 20 62 69 | 74 20 69 73 20 75 73 75 | this bi|t is usu| |00002550| 61 6c 6c 79 20 73 65 74 | 20 77 68 65 6e 2c 20 66 |ally set| when, f| |00002560| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 61 20 6d 6f |or examp|le, a mo| |00002570| 64 75 6c 65 20 68 61 73 | 20 61 20 70 6f 70 2d 75 |dule has| a pop-u| |00002580| 70 20 6d 65 6e 75 20 61 | 73 73 6f 63 69 61 74 65 |p menu a|ssociate| |00002590| 64 20 77 69 74 68 20 69 | 74 2e 20 20 49 66 20 74 |d with i|t. If t| |000025a0| 68 69 73 20 62 69 74 20 | 69 73 20 63 6c 65 61 72 |his bit |is clear| |000025b0| 65 64 2c 20 74 68 65 20 | 43 6f 6e 74 72 6f 6c 20 |ed, the |Control | |000025c0| 53 74 72 69 70 20 74 72 | 61 63 6b 73 20 74 68 65 |Strip tr|acks the| |000025d0| 20 63 75 72 73 6f 72 20 | 75 6e 74 69 6c 20 74 68 | cursor |until th| |000025e0| 65 20 6d 6f 75 73 65 20 | 62 75 74 74 6f 6e 20 69 |e mouse |button i| |000025f0| 73 20 72 65 6c 65 61 73 | 65 64 2c 20 74 68 65 6e |s releas|ed, then| |00002600| 20 73 65 6e 64 73 20 61 | 6e 20 73 64 65 76 4d 6f | sends a|n sdevMo| |00002610| 75 73 65 43 6c 69 63 6b | 20 6d 65 73 73 61 67 65 |useClick| message| |00002620| 20 74 6f 20 74 68 65 20 | 6d 6f 64 75 6c 65 20 74 | to the |module t| |00002630| 6f 20 6e 6f 74 69 66 79 | 20 69 74 20 74 68 61 74 |o notify| it that| |00002640| 20 74 68 65 72 65 20 77 | 61 73 20 61 20 6d 6f 75 | there w|as a mou| |00002650| 73 65 2d 64 6f 77 6e 20 | 65 76 65 6e 74 2e 0d 73 |se-down |event..s| |00002660| 64 65 76 48 61 73 43 75 | 73 74 6f 6d 48 65 6c 70 |devHasCu|stomHelp| |00002670| 09 32 09 49 66 20 74 68 | 69 73 20 62 69 74 20 69 |.2.If th|is bit i| |00002680| 73 20 73 65 74 2c 20 74 | 68 65 20 6d 6f 64 75 6c |s set, t|he modul| |00002690| 65 20 69 73 20 72 65 73 | 70 6f 6e 73 69 62 6c 65 |e is res|ponsible| |000026a0| 20 66 6f 72 20 64 69 73 | 70 6c 61 79 69 6e 67 20 | for dis|playing | |000026b0| 69 74 73 20 6f 77 6e 20 | 68 65 6c 70 20 6d 65 73 |its own |help mes| |000026c0| 73 61 67 65 73 2c 20 77 | 68 69 63 68 20 63 61 6e |sages, w|hich can| |000026d0| 20 62 65 20 63 75 73 74 | 6f 6d 69 7a 65 64 20 64 | be cust|omized d| |000026e0| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 69 74 73 20 |epending| on its | |000026f0| 63 75 72 72 65 6e 74 20 | 73 74 61 74 65 2e 20 20 |current |state. | |00002700| 49 66 20 74 68 65 20 62 | 69 74 20 69 73 20 63 6c |If the b|it is cl| |00002710| 65 61 72 65 64 2c 20 74 | 68 65 20 43 6f 6e 74 72 |eared, t|he Contr| |00002720| 6f 6c 20 53 74 72 69 70 | 20 77 69 6c 6c 20 64 69 |ol Strip| will di| |00002730| 73 70 6c 61 79 20 61 20 | 67 65 6e 65 72 69 63 20 |splay a |generic | |00002740| 68 65 6c 70 20 6d 65 73 | 73 61 67 65 20 77 68 65 |help mes|sage whe| |00002750| 6e 20 74 68 65 20 63 75 | 72 73 6f 72 20 70 61 73 |n the cu|rsor pas| |00002760| 73 65 73 20 6f 76 65 72 | 20 74 68 65 20 6d 6f 64 |ses over| the mod| |00002770| 75 6c 65 d5 73 20 64 69 | 73 70 6c 61 79 20 61 72 |ule.s di|splay ar| |00002780| 65 61 20 61 6e 64 20 42 | 61 6c 6c 6f 6f 6e 20 48 |ea and B|alloon H| |00002790| 65 6c 70 20 69 73 20 6f | 6e 2e 0d 73 64 65 76 4b |elp is o|n..sdevK| |000027a0| 65 65 70 4d 6f 64 75 6c | 65 4c 6f 63 6b 65 64 09 |eepModul|eLocked.| |000027b0| 33 09 49 66 20 74 68 69 | 73 20 62 69 74 20 69 73 |3.If thi|s bit is| |000027c0| 20 73 65 74 2c 20 74 68 | 65 20 6d 6f 64 75 6c 65 | set, th|e module| |000027d0| d5 73 20 63 6f 64 65 20 | 77 69 6c 6c 20 62 65 20 |.s code |will be | |000027e0| 6b 65 70 74 20 6c 6f 63 | 6b 65 64 20 69 6e 20 74 |kept loc|ked in t| |000027f0| 68 65 20 68 65 61 70 2e | 20 20 54 68 69 73 20 62 |he heap.| This b| |00002800| 69 74 20 73 68 6f 75 6c | 64 20 62 65 20 73 65 74 |it shoul|d be set| |00002810| 20 6f 6e 6c 79 20 69 66 | 20 74 68 65 20 6d 6f 64 | only if| the mod| |00002820| 75 6c 65 20 69 73 20 70 | 61 73 73 69 6e 67 20 74 |ule is p|assing t| |00002830| 68 65 20 61 64 64 72 65 | 73 73 20 6f 66 20 6f 6e |he addre|ss of on| |00002840| 65 20 6f 66 20 69 74 73 | 20 72 6f 75 74 69 6e 65 |e of its| routine| |00002850| 73 20 74 6f 20 74 68 65 | 20 6f 75 74 73 69 64 65 |s to the| outside| |00002860| 20 77 6f 72 6c 64 20 28 | 66 6f 72 20 65 78 61 6d | world (|for exam| |00002870| 70 6c 65 2c 20 69 6e 73 | 74 61 6c 6c 69 6e 67 20 |ple, ins|talling | |00002880| 69 74 73 65 6c 66 20 69 | 6e 20 61 20 71 75 65 75 |itself i|n a queu| |00002890| 65 29 2e 0d 73 64 65 76 | 47 65 74 44 69 73 70 6c |e)..sdev|GetDispl| |000028a0| 61 79 57 69 64 74 68 20 | 0d 54 68 65 20 73 64 65 |ayWidth |.The sde| |000028b0| 76 47 65 74 44 69 73 70 | 6c 61 79 57 69 64 74 68 |vGetDisp|layWidth| |000028c0| 20 6d 65 73 73 61 67 65 | 20 69 73 20 73 65 6e 74 | message| is sent| |000028d0| 20 74 6f 20 61 20 6d 6f | 64 75 6c 65 20 74 6f 20 | to a mo|dule to | |000028e0| 64 65 74 65 72 6d 69 6e | 65 20 68 6f 77 20 6d 75 |determin|e how mu| |000028f0| 63 68 20 68 6f 72 69 7a | 6f 6e 74 61 6c 20 73 70 |ch horiz|ontal sp| |00002900| 61 63 65 20 28 69 6e 20 | 70 69 78 65 6c 73 29 20 |ace (in |pixels) | |00002910| 69 74 73 20 64 69 73 70 | 6c 61 79 20 63 75 72 72 |its disp|lay curr| |00002920| 65 6e 74 6c 79 20 72 65 | 71 75 69 72 65 73 20 6f |ently re|quires o| |00002930| 6e 20 74 68 65 20 43 6f | 6e 74 72 6f 6c 20 53 74 |n the Co|ntrol St| |00002940| 72 69 70 2e 20 20 54 68 | 65 20 6d 6f 64 75 6c 65 |rip. Th|e module| |00002950| 20 73 68 6f 75 6c 64 20 | 72 65 74 75 72 6e 20 74 | should |return t| |00002960| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 70 69 78 |he numbe|r of pix| |00002970| 65 6c 73 20 61 73 20 69 | 74 73 20 72 65 73 75 6c |els as i|ts resul| |00002980| 74 2e 20 20 54 68 65 20 | 72 65 74 75 72 6e 65 64 |t. The |returned| |00002990| 20 77 69 64 74 68 20 73 | 68 6f 75 6c 64 20 6e 6f | width s|hould no| |000029a0| 74 20 62 65 20 74 68 65 | 20 6d 61 78 69 6d 75 6d |t be the| maximum| |000029b0| 20 77 69 64 74 68 20 69 | 74 20 72 65 71 75 69 72 | width i|t requir| |000029c0| 65 73 20 66 6f 72 20 61 | 6e 79 20 63 6f 6e 66 69 |es for a|ny confi| |000029d0| 67 75 72 61 74 69 6f 6e | 2c 20 62 75 74 20 73 68 |guration|, but sh| |000029e0| 6f 75 6c 64 20 72 65 66 | 6c 65 63 74 20 68 6f 77 |ould ref|lect how| |000029f0| 20 6d 75 63 68 20 73 70 | 61 63 65 20 69 74 20 63 | much sp|ace it c| |00002a00| 75 72 72 65 6e 74 6c 79 | 20 72 65 71 75 69 72 65 |urrently| require| |00002a10| 73 2c 20 62 65 63 61 75 | 73 65 20 69 74 d5 73 20 |s, becau|se it.s | |00002a20| 70 6f 73 73 69 62 6c 65 | 20 66 6f 72 20 61 20 6d |possible| for a m| |00002a30| 6f 64 75 6c 65 20 74 6f | 20 72 65 71 75 65 73 74 |odule to| request| |00002a40| 20 74 68 61 74 20 69 74 | 73 20 64 69 73 70 6c 61 | that it|s displa| |00002a50| 79 20 62 65 20 72 65 73 | 69 7a 65 64 2e 0d 57 61 |y be res|ized..Wa| |00002a60| 72 6e 69 6e 67 3a 09 59 | 6f 75 20 73 68 6f 75 6c |rning:.Y|ou shoul| |00002a70| 64 20 62 65 20 63 6f 6e | 73 65 72 76 61 74 69 76 |d be con|servativ| |00002a80| 65 20 69 6e 20 79 6f 75 | 72 20 75 73 65 20 6f 66 |e in you|r use of| |00002a90| 20 43 6f 6e 74 72 6f 6c | 20 53 74 72 69 70 20 64 | Control| Strip d| |00002aa0| 69 73 70 6c 61 79 20 73 | 70 61 63 65 2c 20 77 68 |isplay s|pace, wh| |00002ab0| 69 63 68 20 69 73 20 6c | 69 6d 69 74 65 64 2e 20 |ich is l|imited. | |00002ac0| 20 42 65 63 61 75 73 65 | 20 73 65 76 65 72 61 6c | Because| several| |00002ad0| 20 6d 6f 64 75 6c 65 73 | 20 63 6f 75 6c 64 20 62 | modules| could b| |00002ae0| 65 20 72 65 71 75 65 73 | 74 69 6e 67 20 73 70 61 |e reques|ting spa| |00002af0| 63 65 2c 20 69 74 d5 73 | 20 70 6f 73 73 69 62 6c |ce, it.s| possibl| |00002b00| 65 20 74 68 61 74 20 79 | 6f 75 72 20 6d 6f 64 75 |e that y|our modu| |00002b10| 6c 65 20 63 6f 75 6c 64 | 20 62 65 20 73 68 6f 76 |le could| be shov| |00002b20| 65 64 20 6f 66 66 20 74 | 68 65 20 65 6e 64 2e 0d |ed off t|he end..| |00002b30| 73 64 65 76 50 65 72 69 | 6f 64 69 63 54 69 63 6b |sdevPeri|odicTick| |00002b40| 6c 65 20 0d 54 68 65 20 | 73 64 65 76 50 65 72 69 |le .The |sdevPeri| |00002b50| 6f 64 69 63 54 69 63 6b | 6c 65 20 6d 65 73 73 61 |odicTick|le messa| |00002b60| 67 65 20 69 73 20 70 61 | 73 73 65 64 20 74 6f 20 |ge is pa|ssed to | |00002b70| 74 68 65 20 6d 6f 64 75 | 6c 65 20 70 65 72 69 6f |the modu|le perio| |00002b80| 64 69 63 61 6c 6c 79 20 | 74 6f 20 61 6c 6c 6f 77 |dically |to allow| |00002b90| 20 74 68 65 20 6d 6f 64 | 75 6c 65 20 74 6f 20 75 | the mod|ule to u| |00002ba0| 70 64 61 74 65 20 69 74 | 73 20 64 69 73 70 6c 61 |pdate it|s displa| |00002bb0| 79 20 64 75 65 20 74 6f | 20 63 68 61 6e 67 65 73 |y due to| changes| |00002bc0| 20 69 6e 20 69 74 73 20 | 73 74 61 74 65 2e 20 20 | in its |state. | |00002bd0| 59 6f 75 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 61 |You shou|ld not a| |00002be0| 73 73 75 6d 65 20 61 6e | 79 20 6d 69 6e 69 6d 75 |ssume an|y minimu| |00002bf0| 6d 20 6f 72 20 6d 61 78 | 69 6d 75 6d 20 69 6e 74 |m or max|imum int| |00002c00| 65 72 76 61 6c 20 62 65 | 74 77 65 65 6e 20 74 69 |erval be|tween ti| |00002c10| 63 6b 6c 65 73 2e 20 20 | 54 68 65 20 6d 6f 64 75 |ckles. |The modu| |00002c20| 6c 65 20 73 68 6f 75 6c | 64 20 72 65 74 75 72 6e |le shoul|d return| |00002c30| 2c 20 61 73 20 69 74 73 | 20 72 65 73 75 6c 74 2c |, as its| result,| |00002c40| 20 61 20 6c 6f 6e 67 20 | 74 68 61 74 20 73 69 67 | a long |that sig| |00002c50| 6e 61 6c 73 20 72 65 71 | 75 65 73 74 73 20 66 6f |nals req|uests fo| |00002c60| 72 20 61 63 74 69 6f 6e | 73 20 66 72 6f 6d 20 74 |r action|s from t| |00002c70| 68 65 20 43 6f 6e 74 72 | 6f 6c 20 53 74 72 69 70 |he Contr|ol Strip| |00002c80| 20 73 6f 66 74 77 61 72 | 65 2e 20 20 41 6c 6c 20 | softwar|e. All | |00002c90| 75 6e 64 65 66 69 6e 65 | 64 20 62 69 74 73 20 69 |undefine|d bits i| |00002ca0| 6e 20 74 68 65 20 72 65 | 73 75 6c 74 20 61 72 65 |n the re|sult are| |00002cb0| 20 72 65 73 65 72 76 65 | 64 20 66 6f 72 20 66 75 | reserve|d for fu| |00002cc0| 74 75 72 65 20 75 73 65 | 20 62 79 20 41 70 70 6c |ture use| by Appl| |00002cd0| 65 20 61 6e 64 20 6d 75 | 73 74 20 62 65 20 73 65 |e and mu|st be se| |00002ce0| 74 20 74 6f 20 30 2e 20 | 20 54 68 65 20 62 69 74 |t to 0. | The bit| |00002cf0| 73 20 61 72 65 20 64 65 | 66 69 6e 65 64 20 61 73 |s are de|fined as| |00002d00| 20 0d 73 64 65 76 52 65 | 73 69 7a 65 44 69 73 70 | .sdevRe|sizeDisp| |00002d10| 6c 61 79 09 30 09 49 66 | 20 74 68 69 73 20 62 69 |lay.0.If| this bi| |00002d20| 74 20 69 73 20 73 65 74 | 2c 20 74 68 65 20 6d 6f |t is set|, the mo| |00002d30| 64 75 6c 65 20 6e 65 65 | 64 73 20 74 6f 20 72 65 |dule nee|ds to re| |00002d40| 73 69 7a 65 20 69 74 73 | 20 64 69 73 70 6c 61 79 |size its| display| |00002d50| 2e 20 20 54 68 65 20 43 | 6f 6e 74 72 6f 6c 20 53 |. The C|ontrol S| |00002d60| 74 72 69 70 20 77 69 6c | 6c 20 73 65 6e 64 20 61 |trip wil|l send a| |00002d70| 20 73 64 65 76 47 65 74 | 44 69 73 70 6c 61 79 57 | sdevGet|DisplayW| |00002d80| 69 64 74 68 20 6d 65 73 | 73 61 67 65 20 74 6f 20 |idth mes|sage to | |00002d90| 74 68 65 20 6d 6f 64 75 | 6c 65 20 61 6e 64 20 66 |the modu|le and f| |00002da0| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 61 20 73 64 65 |ollowed |by a sde| |00002db0| 76 44 72 61 77 53 74 61 | 74 75 73 20 6d 65 73 73 |vDrawSta|tus mess| |00002dc0| 61 67 65 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |age so t|hat the | |00002dd0| 6d 6f 64 75 6c 65 20 63 | 61 6e 20 75 70 64 61 74 |module c|an updat| |00002de0| 65 20 69 74 73 20 64 69 | 73 70 6c 61 79 2e 0d 73 |e its di|splay..s| |00002df0| 64 65 76 4e 65 65 64 54 | 6f 53 61 76 65 09 31 09 |devNeedT|oSave.1.| |00002e00| 49 66 20 74 68 69 73 20 | 62 69 74 20 69 73 20 73 |If this |bit is s| |00002e10| 65 74 2c 20 74 68 65 20 | 6d 6f 64 75 6c 65 20 6e |et, the |module n| |00002e20| 65 65 64 73 20 74 6f 20 | 73 61 76 65 20 63 68 61 |eeds to |save cha| |00002e30| 6e 67 65 64 20 73 65 74 | 74 69 6e 67 73 20 74 6f |nged set|tings to| |00002e40| 20 64 69 73 6b 2e 20 20 | 54 68 65 20 43 6f 6e 74 | disk. |The Cont| |00002e50| 72 6f 6c 20 53 74 72 69 | 70 20 73 6f 66 74 77 61 |rol Stri|p softwa| |00002e60| 72 65 20 77 69 6c 6c 20 | 6d 61 72 6b 20 74 68 65 |re will |mark the| |00002e70| 20 72 65 71 75 65 73 74 | 20 62 75 74 20 6d 61 79 | request| but may| |00002e80| 20 64 65 66 65 72 20 74 | 68 65 20 61 63 74 75 61 | defer t|he actua| |00002e90| 6c 20 73 61 76 65 20 6f | 70 65 72 61 74 69 6f 6e |l save o|peration| |00002ea0| 20 74 6f 20 61 20 62 65 | 74 74 65 72 20 74 69 6d | to a be|tter tim| |00002eb0| 65 20 28 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |e (for e|xample, | |00002ec0| 77 68 65 6e 20 74 68 65 | 20 68 61 72 64 20 64 69 |when the| hard di| |00002ed0| 73 6b 20 69 73 20 73 70 | 69 6e 6e 69 6e 67 29 2e |sk is sp|inning).| |00002ee0| 0d 73 64 65 76 48 65 6c | 70 53 74 61 74 65 43 68 |.sdevHel|pStateCh| |00002ef0| 61 6e 67 65 09 32 09 49 | 66 20 74 68 69 73 20 62 |ange.2.I|f this b| |00002f00| 69 74 20 69 73 20 73 65 | 74 2c 20 74 68 65 20 6d |it is se|t, the m| |00002f10| 6f 64 75 6c 65 d5 73 20 | 73 74 61 74 65 20 68 61 |odule.s |state ha| |00002f20| 73 20 63 68 61 6e 67 65 | 64 20 73 6f 20 69 74 20 |s change|d so it | |00002f30| 6e 65 65 64 73 20 74 6f | 20 75 70 64 61 74 65 20 |needs to| update | |00002f40| 69 74 73 20 68 65 6c 70 | 20 6d 65 73 73 61 67 65 |its help| message| |00002f50| 2e 20 20 49 66 20 61 20 | 68 65 6c 70 20 62 61 6c |. If a |help bal| |00002f60| 6c 6f 6f 6e 20 69 73 20 | 62 65 69 6e 67 20 64 69 |loon is |being di| |00002f70| 73 70 6c 61 79 65 64 20 | 66 6f 72 20 74 68 69 73 |splayed |for this| |00002f80| 20 6d 6f 64 75 6c 65 2c | 20 74 68 65 20 43 6f 6e | module,| the Con| |00002f90| 74 72 6f 6c 20 53 74 72 | 69 70 20 73 6f 66 74 77 |trol Str|ip softw| |00002fa0| 61 72 65 20 77 69 6c 6c | 20 72 65 6d 6f 76 65 20 |are will| remove | |00002fb0| 69 74 20 61 6e 64 20 70 | 75 74 20 75 70 20 61 20 |it and p|ut up a | |00002fc0| 6e 65 77 20 68 65 6c 70 | 20 62 61 6c 6c 6f 6f 6e |new help| balloon| |00002fd0| 20 66 6f 72 20 74 68 65 | 20 63 75 72 72 65 6e 74 | for the| current| |00002fe0| 20 73 74 61 74 65 2e 0d | 73 64 65 76 43 6c 6f 73 | state..|sdevClos| |00002ff0| 65 4e 6f 77 09 33 09 49 | 66 20 74 68 69 73 20 62 |eNow.3.I|f this b| |00003000| 69 74 20 69 73 20 73 65 | 74 2c 20 74 68 65 20 6d |it is se|t, the m| |00003010| 6f 64 75 6c 65 20 69 73 | 20 72 65 71 75 65 73 74 |odule is| request| |00003020| 69 6e 67 20 74 6f 20 62 | 65 20 63 6c 6f 73 65 64 |ing to b|e closed| |00003030| 2e 20 20 54 68 65 20 43 | 6f 6e 74 72 6f 6c 20 53 |. The C|ontrol S| |00003040| 74 72 69 70 20 73 6f 66 | 74 77 61 72 65 20 77 69 |trip sof|tware wi| |00003050| 6c 6c 20 63 61 6c 6c 20 | 74 68 65 20 6d 6f 64 75 |ll call |the modu| |00003060| 6c 65 20 74 6f 20 73 61 | 76 65 20 69 74 73 20 73 |le to sa|ve its s| |00003070| 65 74 74 69 6e 67 73 2c | 20 74 68 65 6e 20 63 61 |ettings,| then ca| |00003080| 6c 6c 20 69 74 20 61 67 | 61 69 6e 20 74 6f 20 63 |ll it ag|ain to c| |00003090| 6c 6f 73 65 20 69 74 73 | 65 6c 66 2e 20 0d 73 64 |lose its|elf. .sd| |000030a0| 65 76 44 72 61 77 53 74 | 61 74 75 73 20 0d 54 68 |evDrawSt|atus .Th| |000030b0| 65 20 73 64 65 76 44 72 | 61 77 53 74 61 74 75 73 |e sdevDr|awStatus| |000030c0| 20 6d 65 73 73 61 67 65 | 20 69 6e 64 69 63 61 74 | message| indicat| |000030d0| 65 73 20 74 68 61 74 20 | 74 68 65 20 6d 6f 64 75 |es that |the modu| |000030e0| 6c 65 20 68 61 73 20 74 | 6f 20 72 65 64 72 61 77 |le has t|o redraw| |000030f0| 20 69 74 73 20 64 69 73 | 70 6c 61 79 20 74 6f 20 | its dis|play to | |00003100| 72 65 66 6c 65 63 74 20 | 74 68 65 20 6d 6f 73 74 |reflect |the most| |00003110| 20 72 65 63 65 6e 74 20 | 73 74 61 74 65 2e 20 54 | recent |state. T| |00003120| 68 69 73 20 6d 65 73 73 | 61 67 65 20 69 73 20 74 |his mess|age is t| |00003130| 79 70 69 63 61 6c 6c 79 | 20 20 73 65 6e 74 20 77 |ypically| sent w| |00003140| 68 65 6e 20 74 68 65 20 | 75 73 65 72 20 63 6c 69 |hen the |user cli| |00003150| 63 6b 73 20 6f 6e 20 74 | 68 65 20 6d 6f 64 75 6c |cks on t|he modul| |00003160| 65 d5 73 20 64 69 73 70 | 6c 61 79 20 61 72 65 61 |e.s disp|lay area| |00003170| 2c 20 77 68 65 6e 20 61 | 6e 79 20 6f 66 20 20 74 |, when a|ny of t| |00003180| 68 65 20 6d 6f 64 75 6c | 65 d5 73 20 64 69 73 70 |he modul|e.s disp| |00003190| 6c 61 79 73 20 69 73 20 | 72 65 73 69 7a 65 64 2c |lays is |resized,| |000031a0| 20 6f 72 20 77 68 65 6e | 20 74 68 65 20 43 6f 6e | or when| the Con| |000031b0| 74 72 6f 6c 20 53 74 72 | 69 70 20 69 74 73 65 6c |trol Str|ip itsel| |000031c0| 66 20 20 6e 65 65 64 73 | 20 74 6f 20 62 65 20 75 |f needs| to be u| |000031d0| 70 64 61 74 65 64 2c 20 | 70 65 72 68 61 70 73 20 |pdated, |perhaps | |000031e0| 69 6e 20 72 65 73 70 6f | 6e 73 65 20 74 6f 20 61 |in respo|nse to a| |000031f0| 20 73 63 72 65 65 6e 20 | 73 61 76 65 72 20 20 64 | screen |saver d| |00003200| 65 61 63 74 69 76 61 74 | 69 6f 6e 2e 0d 54 68 65 |eactivat|ion..The| |00003210| 20 73 74 61 74 75 73 52 | 65 63 74 20 70 61 72 61 | statusR|ect para| |00003220| 6d 65 74 65 72 20 70 6f | 69 6e 74 73 20 74 6f 20 |meter po|ints to | |00003230| 61 20 72 65 63 74 61 6e | 67 6c 65 20 62 6f 75 6e |a rectan|gle boun| |00003240| 64 69 6e 67 20 74 68 65 | 20 6d 6f 64 75 6c 65 d5 |ding the| module.| |00003250| 73 20 64 69 73 70 6c 61 | 79 20 20 61 72 65 61 2c |s displa|y area,| |00003260| 20 69 6e 20 6c 6f 63 61 | 6c 20 63 6f 6f 72 64 69 | in loca|l coordi| |00003270| 6e 61 74 65 73 2e 20 41 | 6c 6c 20 64 72 61 77 69 |nates. A|ll drawi| |00003280| 6e 67 20 64 6f 6e 65 20 | 62 79 20 61 20 6d 6f 64 |ng done |by a mod| |00003290| 75 6c 65 20 77 69 74 68 | 69 6e 20 20 74 68 65 20 |ule with|in the | |000032a0| 62 6f 75 6e 64 73 20 6f | 66 20 74 68 65 20 43 6f |bounds o|f the Co| |000032b0| 6e 74 72 6f 6c 20 53 74 | 72 69 70 20 6d 75 73 74 |ntrol St|rip must| |000032c0| 20 62 65 20 6c 69 6d 69 | 74 65 64 20 74 6f 20 74 | be limi|ted to t| |000032d0| 68 65 20 6d 6f 64 75 6c | 65 d5 73 20 20 64 69 73 |he modul|e.s dis| |000032e0| 70 6c 61 79 20 72 65 63 | 74 61 6e 67 6c 65 2e 20 |play rec|tangle. | |000032f0| 54 68 65 20 67 72 61 70 | 68 69 63 73 20 70 6f 72 |The grap|hics por| |00003300| 74 27 73 20 63 6c 69 70 | 52 67 6e 20 77 69 6c 6c |t's clip|Rgn will| |00003310| 20 62 65 20 73 65 74 20 | 74 6f 20 20 74 68 65 20 | be set |to the | |00003320| 76 69 73 69 62 6c 65 20 | 70 6f 72 74 69 6f 6e 20 |visible |portion | |00003330| 6f 66 20 74 68 69 73 20 | 72 65 63 74 61 6e 67 6c |of this |rectangl| |00003340| 65 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 64 72 61 |e so you| can dra| |00003350| 77 20 61 6c 6c 20 74 68 | 65 20 65 6c 65 6d 65 6e |w all th|e elemen| |00003360| 74 73 20 69 6e 20 74 68 | 65 20 64 69 73 70 6c 61 |ts in th|e displa| |00003370| 79 2e 20 49 66 20 79 6f | 75 20 6e 65 65 64 20 74 |y. If yo|u need t| |00003380| 6f 20 63 68 61 6e 67 65 | 20 74 68 65 20 63 6c 69 |o change| the cli| |00003390| 70 52 67 6e 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |pRgn, yo|u should| |000033a0| 20 6f 62 73 65 72 76 65 | 20 74 68 65 20 69 6e 69 | observe| the ini| |000033b0| 74 69 61 6c 20 63 6c 69 | 70 52 67 6e 20 74 6f 20 |tial cli|pRgn to | |000033c0| 61 76 6f 69 64 20 20 64 | 72 61 77 69 6e 67 20 6f |avoid d|rawing o| |000033d0| 76 65 72 20 6f 74 68 65 | 72 20 69 74 65 6d 73 20 |ver othe|r items | |000033e0| 69 6e 20 74 68 65 20 43 | 6f 6e 74 72 6f 6c 20 53 |in the C|ontrol S| |000033f0| 74 72 69 70 2e 0d 73 64 | 65 76 4d 6f 75 73 65 43 |trip..sd|evMouseC| |00003400| 6c 69 63 6b 20 0d 57 68 | 65 6e 20 74 68 65 20 75 |lick .Wh|en the u| |00003410| 73 65 72 20 63 6c 69 63 | 6b 73 20 69 6e 20 61 20 |ser clic|ks in a | |00003420| 6d 6f 64 75 6c 65 d5 73 | 20 64 69 73 70 6c 61 79 |module.s| display| |00003430| 20 61 72 65 61 2c 20 74 | 68 65 20 43 6f 6e 74 72 | area, t|he Contr| |00003440| 6f 6c 20 53 74 72 69 70 | 20 73 6f 66 74 77 61 72 |ol Strip| softwar| |00003450| 65 20 63 61 6c 6c 73 20 | 74 68 65 20 6d 6f 64 75 |e calls |the modu| |00003460| 6c 65 20 77 69 74 68 20 | 74 68 65 20 73 64 65 76 |le with |the sdev| |00003470| 4d 6f 75 73 65 43 6c 69 | 63 6b 20 6d 65 73 73 61 |MouseCli|ck messa| |00003480| 67 65 20 69 66 20 74 68 | 65 20 73 64 65 76 57 61 |ge if th|e sdevWa| |00003490| 6e 74 4d 6f 75 73 65 43 | 6c 69 63 6b 73 20 62 69 |ntMouseC|licks bi| |000034a0| 74 20 69 73 20 73 65 74 | 20 69 6e 20 74 68 65 20 |t is set| in the | |000034b0| 6d 6f 64 75 6c 65 d5 73 | 20 66 65 61 74 75 72 65 |module.s| feature| |000034c0| 73 2e 20 0d 49 66 20 74 | 68 65 20 73 64 65 76 44 |s. .If t|he sdevD| |000034d0| 6f 6e 74 41 75 74 6f 54 | 72 61 63 6b 20 62 69 74 |ontAutoT|rack bit| |000034e0| 20 69 73 20 61 6c 73 6f | 20 73 65 74 2c 20 74 68 | is also| set, th| |000034f0| 65 20 43 6f 6e 74 72 6f | 6c 20 53 74 72 69 70 20 |e Contro|l Strip | |00003500| 64 72 61 77 73 20 74 68 | 65 20 6d 6f 64 75 6c 65 |draws th|e module| |00003510| d5 73 20 64 69 73 70 6c | 61 79 20 69 6e 20 69 74 |.s displ|ay in it| |00003520| 73 20 68 69 67 68 6c 69 | 67 68 74 65 64 20 73 74 |s highli|ghted st| |00003530| 61 74 65 20 61 6e 64 20 | 74 68 65 6e 20 73 65 6e |ate and |then sen| |00003540| 64 73 20 74 68 65 20 73 | 64 65 76 4d 6f 75 73 65 |ds the s|devMouse| |00003550| 43 6c 69 63 6b 20 6d 65 | 73 73 61 67 65 20 74 6f |Click me|ssage to| |00003560| 20 74 68 65 20 6d 6f 64 | 75 6c 65 2e 20 20 49 66 | the mod|ule. If| |00003570| 20 74 68 65 20 73 64 65 | 76 44 6f 6e 74 41 75 74 | the sde|vDontAut| |00003580| 6f 54 72 61 63 6b 20 62 | 69 74 20 69 73 20 6e 6f |oTrack b|it is no| |00003590| 74 20 73 65 74 2c 20 74 | 68 65 20 43 6f 6e 74 72 |t set, t|he Contr| |000035a0| 6f 6c 20 53 74 72 69 70 | 20 73 6f 66 74 77 61 72 |ol Strip| softwar| |000035b0| 65 20 74 72 61 63 6b 73 | 20 74 68 65 20 63 75 72 |e tracks| the cur| |000035c0| 73 6f 72 20 75 6e 74 69 | 6c 20 74 68 65 20 6d 6f |sor unti|l the mo| |000035d0| 75 73 65 20 62 75 74 74 | 6f 6e 20 69 73 20 72 65 |use butt|on is re| |000035e0| 6c 65 61 73 65 64 2e 20 | 20 49 66 20 74 68 65 20 |leased. | If the | |000035f0| 63 75 72 73 6f 72 20 69 | 73 20 73 74 69 6c 6c 20 |cursor i|s still | |00003600| 77 69 74 68 69 6e 20 74 | 68 65 20 6d 6f 64 75 6c |within t|he modul| |00003610| 65 d5 73 20 64 69 73 70 | 6c 61 79 20 61 72 65 61 |e.s disp|lay area| |00003620| 2c 20 74 68 65 20 43 6f | 6e 74 72 6f 6c 20 53 74 |, the Co|ntrol St| |00003630| 72 69 70 20 73 6f 66 74 | 77 61 72 65 20 73 65 6e |rip soft|ware sen| |00003640| 64 73 20 74 68 65 20 73 | 64 65 76 4d 6f 75 73 65 |ds the s|devMouse| |00003650| 43 6c 69 63 6b 20 6d 65 | 73 73 61 67 65 20 74 6f |Click me|ssage to| |00003660| 20 6e 6f 74 69 66 79 20 | 74 68 65 20 6d 6f 64 75 | notify |the modu| |00003670| 6c 65 20 74 68 61 74 20 | 61 20 63 6c 69 63 6b 20 |le that |a click | |00003680| 6f 63 63 75 72 72 65 64 | 2e 20 20 49 6e 20 65 69 |occurred|. In ei| |00003690| 74 68 65 72 20 63 61 73 | 65 2c 20 74 68 65 20 6d |ther cas|e, the m| |000036a0| 6f 64 75 6c 65 20 63 61 | 6e 20 74 68 65 6e 20 70 |odule ca|n then p| |000036b0| 65 72 66 6f 72 6d 20 74 | 68 65 20 61 70 70 72 6f |erform t|he appro| |000036c0| 70 72 69 61 74 65 20 66 | 75 6e 63 74 69 6f 6e 20 |priate f|unction | |000036d0| 69 6e 20 72 65 73 70 6f | 6e 73 65 20 74 6f 20 61 |in respo|nse to a| |000036e0| 20 6d 6f 75 73 65 2d 64 | 6f 77 6e 20 65 76 65 6e | mouse-d|own even| |000036f0| 74 2e 0d 54 68 69 73 20 | 6d 65 73 73 61 67 65 20 |t..This |message | |00003700| 72 65 74 75 72 6e 73 20 | 74 68 65 20 73 61 6d 65 |returns |the same| |00003710| 20 72 65 73 75 6c 74 20 | 61 73 20 74 68 65 20 73 | result |as the s| |00003720| 64 65 76 50 65 72 69 6f | 64 69 63 54 69 63 6b 6c |devPerio|dicTickl| |00003730| 65 20 6d 65 73 73 61 67 | 65 2e 0d 73 64 65 76 53 |e messag|e..sdevS| |00003740| 61 76 65 53 65 74 74 69 | 6e 67 73 20 0d 54 68 65 |aveSetti|ngs .The| |00003750| 20 73 64 65 76 53 61 76 | 65 53 65 74 74 69 6e 67 | sdevSav|eSetting| |00003760| 73 20 6d 65 73 73 61 67 | 65 20 69 73 20 70 61 73 |s messag|e is pas| |00003770| 73 65 64 20 74 6f 20 74 | 68 65 20 6d 6f 64 75 6c |sed to t|he modul| |00003780| 65 20 77 68 65 6e 20 74 | 68 65 20 43 6f 6e 74 72 |e when t|he Contr| |00003790| 6f 6c 20 53 74 72 69 70 | 20 73 6f 66 74 77 61 72 |ol Strip| softwar| |000037a0| 65 20 68 61 73 20 64 65 | 74 65 72 6d 69 6e 65 64 |e has de|termined| |000037b0| 20 74 68 61 74 20 69 74 | d5 73 20 61 20 67 6f 6f | that it|.s a goo| |000037c0| 64 20 74 69 6d 65 20 74 | 6f 20 73 61 76 65 20 63 |d time t|o save c| |000037d0| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 20 69 6e 66 |onfigura|tion inf| |000037e0| 6f 72 6d 61 74 69 6f 6e | 20 74 6f 20 74 68 65 20 |ormation| to the | |000037f0| 64 69 73 6b 2e 20 20 54 | 68 69 73 20 6d 65 73 73 |disk. T|his mess| |00003800| 61 67 65 20 77 69 6c 6c | 20 62 65 20 73 65 6e 74 |age will| be sent| |00003810| 20 6f 6e 6c 79 20 69 66 | 20 74 68 65 20 6d 6f 64 | only if| the mod| |00003820| 75 6c 65 20 68 61 64 20 | 70 72 65 76 69 6f 75 73 |ule had |previous| |00003830| 6c 79 20 73 65 74 20 74 | 68 65 20 73 64 65 76 4e |ly set t|he sdevN| |00003840| 65 65 64 54 6f 53 61 76 | 65 20 62 69 74 20 69 6e |eedToSav|e bit in| |00003850| 20 74 68 65 20 72 65 73 | 75 6c 74 20 6f 66 20 61 | the res|ult of a| |00003860| 20 73 64 65 76 50 65 72 | 69 6f 64 69 63 54 69 63 | sdevPer|iodicTic| |00003870| 6b 6c 65 20 6f 72 20 73 | 64 65 76 4d 6f 75 73 65 |kle or s|devMouse| |00003880| 43 6c 69 63 6b 20 6d 65 | 73 73 61 67 65 2e 20 20 |Click me|ssage. | |00003890| 54 68 65 20 6d 6f 64 75 | 6c 65 20 73 68 6f 75 6c |The modu|le shoul| |000038a0| 64 20 72 65 74 75 72 6e | 20 61 6e 20 65 72 72 6f |d return| an erro| |000038b0| 72 20 63 6f 64 65 20 28 | 46 69 6c 65 20 4d 61 6e |r code (|File Man| |000038c0| 61 67 65 72 2c 20 52 65 | 73 6f 75 72 63 65 20 4d |ager, Re|source M| |000038d0| 61 6e 61 67 65 72 2c 20 | 6f 72 20 74 68 65 20 6c |anager, |or the l| |000038e0| 69 6b 65 29 20 69 6e 64 | 69 63 61 74 69 6e 67 20 |ike) ind|icating | |000038f0| 74 68 65 20 73 75 63 63 | 65 73 73 20 6f 66 20 74 |the succ|ess of t| |00003900| 68 65 20 73 61 76 65 20 | 6f 70 65 72 61 74 69 6f |he save |operatio| |00003910| 6e 2e 20 20 54 68 65 20 | 43 6f 6e 74 72 6f 6c 20 |n. The |Control | |00003920| 53 74 72 69 70 20 73 6f | 66 74 77 61 72 65 20 77 |Strip so|ftware w| |00003930| 69 6c 6c 20 63 6f 6e 74 | 69 6e 75 65 20 74 6f 20 |ill cont|inue to | |00003940| 73 65 6e 64 20 74 68 69 | 73 20 6d 65 73 73 61 67 |send thi|s messag| |00003950| 65 20 74 6f 20 74 68 65 | 20 6d 6f 64 75 6c 65 20 |e to the| module | |00003960| 75 6e 74 69 6c 20 74 68 | 65 20 6d 6f 64 75 6c 65 |until th|e module| |00003970| 20 72 65 74 75 72 6e 73 | 20 61 20 72 65 73 75 6c | returns| a resul| |00003980| 74 20 6f 66 20 30 2c 20 | 69 6e 64 69 63 61 74 69 |t of 0, |indicati| |00003990| 6e 67 20 61 20 73 75 63 | 63 65 73 73 66 75 6c 20 |ng a suc|cessful | |000039a0| 73 61 76 65 2e 0d 73 64 | 65 76 53 68 6f 77 42 61 |save..sd|evShowBa| |000039b0| 6c 6c 6f 6f 6e 48 65 6c | 70 20 0d 54 68 65 20 43 |lloonHel|p .The C| |000039c0| 6f 6e 74 72 6f 6c 20 53 | 74 72 69 70 20 73 6f 66 |ontrol S|trip sof| |000039d0| 74 77 61 72 65 20 63 61 | 6c 6c 73 20 74 68 65 20 |tware ca|lls the | |000039e0| 6d 6f 64 75 6c 65 20 77 | 69 74 68 20 74 68 65 20 |module w|ith the | |000039f0| 73 64 65 76 53 68 6f 77 | 42 61 6c 6c 6f 6f 6e 48 |sdevShow|BalloonH| |00003a00| 65 6c 70 20 6d 65 73 73 | 61 67 65 20 69 66 20 42 |elp mess|age if B| |00003a10| 61 6c 6c 6f 6f 6e 20 48 | 65 6c 70 20 69 73 20 74 |alloon H|elp is t| |00003a20| 75 72 6e 65 64 20 6f 6e | 2c 20 74 68 65 20 6d 6f |urned on|, the mo| |00003a30| 64 75 6c 65 20 68 61 73 | 20 70 72 65 76 69 6f 75 |dule has| previou| |00003a40| 73 6c 79 20 73 65 74 20 | 74 68 65 20 73 64 65 76 |sly set |the sdev| |00003a50| 48 61 73 43 75 73 74 6f | 6d 48 65 6c 70 20 62 69 |HasCusto|mHelp bi| |00003a60| 74 20 69 6e 20 69 74 73 | 20 66 65 61 74 75 72 65 |t in its| feature| |00003a70| 73 2c 20 61 6e 64 20 74 | 68 65 20 63 75 72 73 6f |s, and t|he curso| |00003a80| 72 20 69 73 20 6f 76 65 | 72 20 74 68 65 20 6d 6f |r is ove|r the mo| |00003a90| 64 75 6c 65 d5 73 20 64 | 69 73 70 6c 61 79 20 61 |dule.s d|isplay a| |00003aa0| 72 65 61 2e 20 54 68 65 | 20 6d 6f 64 75 6c 65 20 |rea. The| module | |00003ab0| 73 68 6f 75 6c 64 20 74 | 68 65 6e 20 63 61 6c 6c |should t|hen call| |00003ac0| 20 74 68 65 20 48 65 6c | 70 20 4d 61 6e 61 67 65 | the Hel|p Manage| |00003ad0| 72 20 74 6f 20 64 69 73 | 70 6c 61 79 20 61 20 68 |r to dis|play a h| |00003ae0| 65 6c 70 20 62 61 6c 6c | 6f 6f 6e 20 64 65 73 63 |elp ball|oon desc| |00003af0| 72 69 62 69 6e 67 20 74 | 68 65 20 63 75 72 72 65 |ribing t|he curre| |00003b00| 6e 74 20 73 74 61 74 65 | 20 6f 66 20 74 68 65 20 |nt state| of the | |00003b10| 6d 6f 64 75 6c 65 2e 20 | 20 54 68 65 20 6d 6f 64 |module. | The mod| |00003b20| 75 6c 65 20 73 68 6f 75 | 6c 64 20 72 65 74 75 72 |ule shou|ld retur| |00003b30| 6e 20 61 20 76 61 6c 75 | 65 20 6f 66 20 30 20 69 |n a valu|e of 0 i| |00003b40| 66 20 69 74 d5 73 20 73 | 75 63 63 65 73 73 66 75 |f it.s s|uccessfu| |00003b50| 6c 20 6f 72 20 61 6e 20 | 61 70 70 72 6f 70 72 69 |l or an |appropri| |00003b60| 61 74 65 20 65 72 72 6f | 72 20 72 65 73 75 6c 74 |ate erro|r result| |00003b70| 20 69 66 20 6e 6f 74 2e | 20 0d 55 74 69 6c 69 74 | if not.| .Utilit| |00003b80| 79 20 52 6f 75 74 69 6e | 65 73 0d 54 68 65 20 43 |y Routin|es.The C| |00003b90| 6f 6e 74 72 6f 6c 20 53 | 74 72 69 70 20 73 6f 66 |ontrol S|trip sof| |00003ba0| 74 77 61 72 65 20 70 72 | 6f 76 69 64 65 73 20 61 |tware pr|ovides a| |00003bb0| 20 73 65 74 20 6f 66 20 | 75 74 69 6c 69 74 79 20 | set of |utility | |00003bc0| 72 6f 75 74 69 6e 65 73 | 20 74 68 61 74 20 61 72 |routines| that ar| |00003bd0| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 74 6f 20 43 |e availa|ble to C| |00003be0| 6f 6e 74 72 6f 6c 20 53 | 74 72 69 70 20 6d 6f 64 |ontrol S|trip mod| |00003bf0| 75 6c 65 73 2e 20 20 54 | 68 65 79 20 61 72 65 20 |ules. T|hey are | |00003c00| 70 72 6f 76 69 64 65 64 | 20 74 6f 20 70 72 6f 6d |provided| to prom| |00003c10| 6f 74 65 20 61 20 63 6f | 6e 73 69 73 74 65 6e 74 |ote a co|nsistent| |00003c20| 20 75 73 65 72 20 69 6e | 74 65 72 66 61 63 65 20 | user in|terface | |00003c30| 77 69 74 68 69 6e 20 74 | 68 65 20 43 6f 6e 74 72 |within t|he Contr| |00003c40| 6f 6c 20 53 74 72 69 70 | 20 61 6e 64 20 74 6f 20 |ol Strip| and to | |00003c50| 72 65 64 75 63 65 20 74 | 68 65 20 61 6d 6f 75 6e |reduce t|he amoun| |00003c60| 74 20 6f 66 20 64 75 70 | 6c 69 63 61 74 65 64 20 |t of dup|licated | |00003c70| 63 6f 64 65 20 74 68 61 | 74 20 65 61 63 68 20 6d |code tha|t each m| |00003c80| 6f 64 75 6c 65 20 77 6f | 75 6c 64 20 68 61 76 65 |odule wo|uld have| |00003c90| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 74 6f 20 73 | to incl|ude to s| |00003ca0| 75 70 70 6f 72 74 20 63 | 6f 6d 6d 6f 6e 20 66 75 |upport c|ommon fu| |00003cb0| 6e 63 74 69 6f 6e 73 2e | 0d 54 68 65 20 75 74 69 |nctions.|.The uti| |00003cc0| 6c 69 74 79 20 72 6f 75 | 74 69 6e 65 73 20 61 72 |lity rou|tines ar| |00003cd0| 65 20 63 61 6c 6c 65 64 | 20 74 68 72 6f 75 67 68 |e called| through| |00003ce0| 20 61 20 73 65 6c 65 63 | 74 6f 72 2d 62 61 73 65 | a selec|tor-base| |00003cf0| 64 20 74 72 61 70 2c 20 | 5f 43 6f 6e 74 72 6f 6c |d trap, |_Control| |00003d00| 53 74 72 69 70 44 69 73 | 70 61 74 63 68 20 28 24 |StripDis|patch ($| |00003d10| 41 41 46 32 29 2e 20 20 | 49 66 20 61 6e 20 75 6e |AAF2). |If an un| |00003d20| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 72 6f 75 74 |implemen|ted rout| |00003d30| 69 6e 65 20 69 73 20 63 | 61 6c 6c 65 64 2c 20 69 |ine is c|alled, i| |00003d40| 74 20 77 69 6c 6c 20 72 | 65 74 75 72 6e 20 70 61 |t will r|eturn pa| |00003d50| 72 61 6d 45 72 72 20 61 | 73 20 74 68 65 20 72 65 |ramErr a|s the re| |00003d60| 73 75 6c 74 2e 20 20 0d | 57 61 72 6e 69 6e 67 3a |sult. .|Warning:| |00003d70| 09 54 68 65 73 65 20 72 | 6f 75 74 69 6e 65 73 20 |.These r|outines | |00003d80| 73 68 6f 75 6c 64 20 6e | 6f 74 20 62 65 20 63 61 |should n|ot be ca| |00003d90| 6c 6c 65 64 20 61 74 20 | 69 6e 74 65 72 72 75 70 |lled at |interrup| |00003da0| 74 20 74 69 6d 65 20 62 | 65 63 61 75 73 65 20 74 |t time b|ecause t| |00003db0| 68 65 79 20 61 6c 6c 20 | 6d 6f 76 65 20 6d 65 6d |hey all |move mem| |00003dc0| 6f 72 79 2e 0d 53 42 49 | 73 43 6f 6e 74 72 6f 6c |ory..SBI|sControl| |00003dd0| 53 74 72 69 70 56 69 73 | 69 62 6c 65 0d 59 6f 75 |StripVis|ible.You| |00003de0| 20 63 61 6e 20 75 73 65 | 20 74 68 65 20 53 42 49 | can use| the SBI| |00003df0| 73 43 6f 6e 74 72 6f 6c | 53 74 72 69 70 56 69 73 |sControl|StripVis| |00003e00| 69 62 6c 65 20 72 6f 75 | 74 69 6e 65 20 74 6f 20 |ible rou|tine to | |00003e10| 66 69 6e 64 20 6f 75 74 | 20 77 68 65 74 68 65 72 |find out| whether| |00003e20| 20 74 68 65 20 43 6f 6e | 74 72 6f 6c 20 53 74 72 | the Con|trol Str| |00003e30| 69 70 20 69 73 20 76 69 | 73 69 62 6c 65 2e 20 0d |ip is vi|sible. .| |00003e40| 70 61 73 63 61 6c 20 42 | 6f 6f 6c 65 61 6e 20 53 |pascal B|oolean S| |00003e50| 42 49 73 43 6f 6e 74 72 | 6f 6c 53 74 72 69 70 56 |BIsContr|olStripV| |00003e60| 69 73 69 62 6c 65 28 29 | 3b 0d 54 68 65 20 53 42 |isible()|;.The SB| |00003e70| 49 73 43 6f 6e 74 72 6f | 6c 53 74 72 69 70 56 69 |IsContro|lStripVi| |00003e80| 73 69 62 6c 65 20 72 6f | 75 74 69 6e 65 20 72 65 |sible ro|utine re| |00003e90| 74 75 72 6e 73 20 61 20 | 42 6f 6f 6c 65 61 6e 20 |turns a |Boolean | |00003ea0| 76 61 6c 75 65 20 69 6e | 64 69 63 61 74 69 6e 67 |value in|dicating| |00003eb0| 20 77 68 65 74 68 65 72 | 20 6f 72 20 6e 6f 74 20 | whether| or not | |00003ec0| 74 68 65 20 43 6f 6e 74 | 72 6f 6c 20 53 74 72 69 |the Cont|rol Stri| |00003ed0| 70 20 69 73 20 63 75 72 | 72 65 6e 74 6c 79 20 76 |p is cur|rently v| |00003ee0| 69 73 69 62 6c 65 2e 20 | 20 49 74 20 72 65 74 75 |isible. | It retu| |00003ef0| 72 6e 73 20 61 20 76 61 | 6c 75 65 20 6f 66 20 74 |rns a va|lue of t| |00003f00| 72 75 65 20 69 66 20 74 | 68 65 20 43 6f 6e 74 72 |rue if t|he Contr| |00003f10| 6f 6c 20 53 74 72 69 70 | 20 69 73 20 76 69 73 69 |ol Strip| is visi| |00003f20| 62 6c 65 2c 20 6f 72 20 | 61 20 76 61 6c 75 65 20 |ble, or |a value | |00003f30| 6f 66 20 66 61 6c 73 65 | 20 69 66 20 69 74 d5 73 |of false| if it.s| |00003f40| 20 68 69 64 64 65 6e 2e | 20 0d 49 74 20 69 73 20 | hidden.| .It is | |00003f50| 70 6f 73 73 69 62 6c 65 | 20 66 6f 72 20 74 68 69 |possible| for thi| |00003f60| 73 20 63 61 6c 6c 20 74 | 6f 20 72 65 74 75 72 6e |s call t|o return| |00003f70| 20 61 20 76 61 6c 75 65 | 20 6f 66 20 74 72 75 65 | a value| of true| |00003f80| 20 65 76 65 6e 20 77 68 | 65 6e 20 74 68 65 20 43 | even wh|en the C| |00003f90| 6f 6e 74 72 6f 6c 20 53 | 74 72 69 70 20 69 73 20 |ontrol S|trip is | |00003fa0| 6e 6f 74 20 76 69 73 69 | 62 6c 65 2e 20 54 68 61 |not visi|ble. Tha| |00003fb0| 74 20 68 61 70 70 65 6e | 73 20 77 68 65 6e 65 76 |t happen|s whenev| |00003fc0| 65 72 20 74 68 65 20 43 | 6f 6e 74 72 6f 6c 20 53 |er the C|ontrol S| |00003fd0| 74 72 69 70 20 69 73 20 | 6e 6f 74 20 61 63 63 65 |trip is |not acce| |00003fe0| 73 73 69 62 6c 65 20 69 | 6e 20 74 68 65 20 63 75 |ssible i|n the cu| |00003ff0| 72 72 65 6e 74 20 65 6e | 76 69 72 6f 6e 6d 65 6e |rrent en|vironmen| |00004000| 74 2e 20 41 73 20 73 6f | 6f 6e 20 61 73 20 74 68 |t. As so|on as th| |00004010| 61 74 20 63 6f 6e 64 69 | 74 69 6f 6e 20 63 68 61 |at condi|tion cha| |00004020| 6e 67 65 73 2c 20 74 68 | 65 20 43 6f 6e 74 72 6f |nges, th|e Contro| |00004030| 6c 20 53 74 72 69 70 20 | 62 65 63 6f 6d 65 73 20 |l Strip |becomes | |00004040| 76 69 73 69 62 6c 65 20 | 61 67 61 69 6e 20 61 6e |visible |again an| |00004050| 64 20 74 68 65 20 72 65 | 74 75 72 6e 65 64 20 76 |d the re|turned v| |00004060| 61 6c 75 65 20 63 6f 72 | 72 65 63 74 6c 79 20 72 |alue cor|rectly r| |00004070| 65 66 6c 65 63 74 73 20 | 74 68 65 20 61 63 74 75 |eflects |the actu| |00004080| 61 6c 20 73 74 61 74 65 | 2e 20 0d 53 42 53 68 6f |al state|. .SBSho| |00004090| 77 48 69 64 65 43 6f 6e | 74 72 6f 6c 53 74 72 69 |wHideCon|trolStri| |000040a0| 70 0d 59 6f 75 20 63 61 | 6e 20 75 73 65 20 74 68 |p.You ca|n use th| |000040b0| 65 20 53 42 53 68 6f 77 | 48 69 64 65 43 6f 6e 74 |e SBShow|HideCont| |000040c0| 72 6f 6c 53 74 72 69 70 | 20 72 6f 75 74 69 6e 65 |rolStrip| routine| |000040d0| 20 74 6f 20 73 68 6f 77 | 20 6f 72 20 68 69 64 65 | to show| or hide| |000040e0| 20 74 68 65 20 43 6f 6e | 74 72 6f 6c 20 53 74 72 | the Con|trol Str| |000040f0| 69 70 2e 20 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |ip. .pas|cal void| |00004100| 20 53 42 53 68 6f 77 48 | 69 64 65 43 6f 6e 74 72 | SBShowH|ideContr| |00004110| 6f 6c 53 74 72 69 70 28 | 42 6f 6f 6c 65 61 6e 20 |olStrip(|Boolean | |00004120| 73 68 6f 77 49 74 29 3b | 0d 54 68 65 20 53 42 53 |showIt);|.The SBS| |00004130| 68 6f 77 48 69 64 65 43 | 6f 6e 74 72 6f 6c 53 74 |howHideC|ontrolSt| |00004140| 72 69 70 20 72 6f 75 74 | 69 6e 65 20 64 65 74 65 |rip rout|ine dete| |00004150| 72 6d 69 6e 65 73 20 74 | 68 65 20 76 69 73 69 62 |rmines t|he visib| |00004160| 69 6c 69 74 79 20 73 74 | 61 74 65 20 66 6f 72 20 |ility st|ate for | |00004170| 74 68 65 20 43 6f 6e 74 | 72 6f 6c 20 53 74 72 69 |the Cont|rol Stri| |00004180| 70 20 62 61 73 65 64 20 | 6f 6e 20 74 68 65 20 76 |p based |on the v| |00004190| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 73 68 6f 77 |alue of |the show| |000041a0| 49 74 20 70 61 72 61 6d | 65 74 65 72 2e 20 20 50 |It param|eter. P| |000041b0| 61 73 73 69 6e 67 20 61 | 20 76 61 6c 75 65 20 6f |assing a| value o| |000041c0| 66 20 74 72 75 65 20 6d | 61 6b 65 73 20 74 68 65 |f true m|akes the| |000041d0| 20 43 6f 6e 74 72 6f 6c | 20 53 74 72 69 70 20 76 | Control| Strip v| |000041e0| 69 73 69 62 6c 65 2c 20 | 61 6e 64 20 70 61 73 73 |isible, |and pass| |000041f0| 69 6e 67 20 61 20 76 61 | 6c 75 65 20 6f 66 20 66 |ing a va|lue of f| |00004200| 61 6c 73 65 20 68 69 64 | 65 73 20 69 74 2e 20 20 |alse hid|es it. | |00004210| 4d 6f 64 75 6c 65 73 20 | 73 68 6f 75 6c 64 6e d5 |Modules |shouldn.| |00004220| 74 20 74 79 70 69 63 61 | 6c 6c 79 20 6e 65 65 64 |t typica|lly need| |00004230| 20 74 6f 20 63 61 6c 6c | 20 74 68 69 73 20 72 6f | to call| this ro| |00004240| 75 74 69 6e 65 2c 20 62 | 75 74 20 69 74 d5 73 20 |utine, b|ut it.s | |00004250| 70 72 6f 76 69 64 65 64 | 20 61 73 20 61 20 6d 65 |provided| as a me| |00004260| 61 6e 73 20 66 6f 72 20 | 6f 74 68 65 72 20 73 6f |ans for |other so| |00004270| 66 74 77 61 72 65 20 74 | 6f 20 68 69 64 65 20 74 |ftware t|o hide t| |00004280| 68 65 20 43 6f 6e 74 72 | 6f 6c 20 53 74 72 69 70 |he Contr|ol Strip| |00004290| 20 77 68 65 6e 20 69 74 | 20 6d 69 67 68 74 20 67 | when it| might g| |000042a0| 65 74 20 69 6e 20 74 68 | 65 20 77 61 79 2e 20 0d |et in th|e way. .| |000042b0| 43 61 6c 6c 69 6e 67 20 | 53 42 53 68 6f 77 48 69 |Calling |SBShowHi| |000042c0| 64 65 43 6f 6e 74 72 6f | 6c 53 74 72 69 70 20 77 |deContro|lStrip w| |000042d0| 69 74 68 20 61 20 73 68 | 6f 77 49 74 20 76 61 6c |ith a sh|owIt val| |000042e0| 75 65 20 6f 66 20 74 72 | 75 65 20 6d 61 79 20 6f |ue of tr|ue may o| |000042f0| 72 20 6d 61 79 20 6e 6f | 74 20 73 68 6f 77 20 74 |r may no|t show t| |00004300| 68 65 20 43 6f 6e 74 72 | 6f 6c 20 53 74 72 69 70 |he Contr|ol Strip| |00004310| 2c 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 74 |, depend|ing on t| |00004320| 68 65 20 63 75 72 72 65 | 6e 74 20 65 6e 76 69 72 |he curre|nt envir| |00004330| 6f 6e 6d 65 6e 74 3a 20 | 69 66 20 74 68 65 20 43 |onment: |if the C| |00004340| 6f 6e 74 72 6f 6c 20 53 | 74 72 69 70 20 69 73 20 |ontrol S|trip is | |00004350| 6e 6f 74 20 61 63 63 65 | 73 73 69 62 6c 65 2c 20 |not acce|ssible, | |00004360| 69 74 20 64 6f 65 73 20 | 6e 6f 74 20 62 65 63 6f |it does |not beco| |00004370| 6d 65 20 76 69 73 69 62 | 6c 65 2e 20 49 66 20 61 |me visib|le. If a| |00004380| 20 73 68 6f 77 49 74 20 | 76 61 6c 75 65 20 6f 66 | showIt |value of| |00004390| 20 74 72 75 65 20 69 73 | 20 70 61 73 73 65 64 20 | true is| passed | |000043a0| 74 6f 20 74 68 69 73 20 | 72 6f 75 74 69 6e 65 2c |to this |routine,| |000043b0| 20 74 68 65 6e 20 77 68 | 65 6e 20 74 68 65 20 65 | then wh|en the e| |000043c0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 63 68 61 6e 67 |nvironme|nt chang| |000043d0| 65 73 2c 20 74 68 65 20 | 43 6f 6e 74 72 6f 6c 20 |es, the |Control | |000043e0| 53 74 72 69 70 20 77 69 | 6c 6c 20 62 65 63 6f 6d |Strip wi|ll becom| |000043f0| 65 20 76 69 73 69 62 6c | 65 2e 0d 53 42 53 61 66 |e visibl|e..SBSaf| |00004400| 65 54 6f 41 63 63 65 73 | 73 53 74 61 72 74 75 70 |eToAcces|sStartup| |00004410| 44 69 73 6b 0d 59 6f 75 | 20 63 61 6e 20 75 73 65 |Disk.You| can use| |00004420| 20 74 68 65 20 53 42 53 | 61 66 65 54 6f 41 63 63 | the SBS|afeToAcc| |00004430| 65 73 73 53 74 61 72 74 | 75 70 44 69 73 6b 20 72 |essStart|upDisk r| |00004440| 6f 75 74 69 6e 65 20 74 | 6f 20 66 69 6e 64 20 6f |outine t|o find o| |00004450| 75 74 20 77 68 65 74 68 | 65 72 20 74 68 65 20 69 |ut wheth|er the i| |00004460| 6e 74 65 72 6e 61 6c 20 | 68 61 72 64 20 64 69 73 |nternal |hard dis| |00004470| 6b 20 69 73 20 73 70 69 | 6e 6e 69 6e 67 20 73 6f |k is spi|nning so| |00004480| 20 74 68 61 74 20 79 6f | 75 72 20 73 6f 66 74 77 | that yo|ur softw| |00004490| 61 72 65 20 63 61 6e 20 | 64 65 74 65 72 6d 69 6e |are can |determin| |000044a0| 65 20 77 68 65 74 68 65 | 72 20 74 6f 20 6d 61 6b |e whethe|r to mak| |000044b0| 65 20 61 20 64 69 73 6b | 20 61 63 63 65 73 73 20 |e a disk| access | |000044c0| 6f 72 20 70 6f 73 74 70 | 6f 6e 65 20 69 74 20 75 |or postp|one it u| |000044d0| 6e 74 69 6c 20 61 20 74 | 69 6d 65 20 77 68 65 6e |ntil a t|ime when| |000044e0| 20 74 68 65 20 64 69 73 | 6b 20 69 73 20 61 6c 72 | the dis|k is alr| |000044f0| 65 61 64 79 20 73 70 69 | 6e 6e 69 6e 67 2e 20 0d |eady spi|nning. .| |00004500| 70 61 73 63 61 6c 20 42 | 6f 6f 6c 65 61 6e 20 53 |pascal B|oolean S| |00004510| 42 53 61 66 65 54 6f 41 | 63 63 65 73 73 53 74 61 |BSafeToA|ccessSta| |00004520| 72 74 75 70 44 69 73 6b | 28 29 3b 0d 54 68 65 20 |rtupDisk|();.The | |00004530| 53 42 53 61 66 65 54 6f | 41 63 63 65 73 73 53 74 |SBSafeTo|AccessSt| |00004540| 61 72 74 75 70 44 69 73 | 6b 20 72 6f 75 74 69 6e |artupDis|k routin| |00004550| 65 20 72 65 74 75 72 6e | 73 20 61 20 42 6f 6f 6c |e return|s a Bool| |00004560| 65 61 6e 20 76 61 6c 75 | 65 20 6f 66 20 74 72 75 |ean valu|e of tru| |00004570| 65 20 69 66 20 74 68 65 | 20 64 69 73 6b 20 69 73 |e if the| disk is| |00004580| 20 73 70 69 6e 6e 69 6e | 67 20 61 6e 64 20 66 61 | spinnin|g and fa| |00004590| 6c 73 65 20 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |lse if i|t is not| |000045a0| 2e 20 0d 53 42 4f 70 65 | 6e 4d 6f 64 75 6c 65 52 |. .SBOpe|nModuleR| |000045b0| 65 73 6f 75 72 63 65 46 | 69 6c 65 0d 59 6f 75 20 |esourceF|ile.You | |000045c0| 63 61 6e 20 75 73 65 20 | 74 68 65 20 53 42 4f 70 |can use |the SBOp| |000045d0| 65 6e 4d 6f 64 75 6c 65 | 52 65 73 6f 75 72 63 65 |enModule|Resource| |000045e0| 46 69 6c 65 20 72 6f 75 | 74 69 6e 65 20 74 6f 20 |File rou|tine to | |000045f0| 6f 70 65 6e 20 61 20 6d | 6f 64 75 6c 65 20 72 65 |open a m|odule re| |00004600| 73 6f 75 72 63 65 20 66 | 69 6c 65 2e 20 0d 70 61 |source f|ile. .pa| |00004610| 73 63 61 6c 20 73 68 6f | 72 74 20 53 42 4f 70 65 |scal sho|rt SBOpe| |00004620| 6e 4d 6f 64 75 6c 65 52 | 65 73 6f 75 72 63 65 46 |nModuleR|esourceF| |00004630| 69 6c 65 28 4f 53 54 79 | 70 65 20 66 69 6c 65 43 |ile(OSTy|pe fileC| |00004640| 72 65 61 74 6f 72 29 3b | 0d 54 68 65 20 53 42 4f |reator);|.The SBO| |00004650| 70 65 6e 4d 6f 64 75 6c | 65 52 65 73 6f 75 72 63 |penModul|eResourc| |00004660| 65 46 69 6c 65 20 72 6f | 75 74 69 6e 65 20 6f 70 |eFile ro|utine op| |00004670| 65 6e 73 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 |ens the |resource| |00004680| 20 66 6f 72 6b 20 6f 66 | 20 74 68 65 20 6d 6f 64 | fork of| the mod| |00004690| 75 6c 65 20 66 69 6c 65 | 20 77 68 6f 73 65 20 63 |ule file| whose c| |000046a0| 72 65 61 74 6f 72 20 69 | 73 20 66 69 6c 65 43 72 |reator i|s fileCr| |000046b0| 65 61 74 6f 72 2c 20 61 | 6e 64 20 72 65 74 75 72 |eator, a|nd retur| |000046c0| 6e 73 20 74 68 65 20 66 | 69 6c 65 d5 73 20 72 65 |ns the f|ile.s re| |000046d0| 66 65 72 65 6e 63 65 20 | 6e 75 6d 62 65 72 20 61 |ference |number a| |000046e0| 73 20 69 74 73 20 72 65 | 73 75 6c 74 2e 20 20 49 |s its re|sult. I| |000046f0| 66 20 74 68 65 20 66 69 | 6c 65 20 63 61 6e 6e 6f |f the fi|le canno| |00004700| 74 20 62 65 20 66 6f 75 | 6e 64 20 6f 72 20 6f 70 |t be fou|nd or op| |00004710| 65 6e 65 64 2c 20 53 42 | 4f 70 65 6e 4d 6f 64 75 |ened, SB|OpenModu| |00004720| 6c 65 52 65 73 6f 75 72 | 63 65 46 69 6c 65 20 72 |leResour|ceFile r| |00004730| 65 74 75 72 6e 73 20 61 | 20 72 65 73 75 6c 74 20 |eturns a| result | |00004740| 6f 66 20 d0 31 2e 0d 53 | 42 4f 70 65 6e 4d 6f 64 |of .1..S|BOpenMod| |00004750| 75 6c 65 52 65 73 6f 75 | 72 63 65 46 69 6c 65 20 |uleResou|rceFile | |00004760| 70 72 6f 76 69 64 65 73 | 20 61 20 6d 65 61 6e 73 |provides| a means| |00004770| 20 66 6f 72 20 61 20 6d | 6f 64 75 6c 65 20 74 6f | for a m|odule to| |00004780| 20 6c 6f 61 64 20 69 6e | 20 6c 61 72 67 65 20 6f | load in| large o| |00004790| 72 20 69 6e 66 72 65 71 | 75 65 6e 74 6c 79 20 75 |r infreq|uently u| |000047a0| 73 65 64 20 72 65 73 6f | 75 72 63 65 73 20 74 68 |sed reso|urces th| |000047b0| 61 74 20 69 74 20 64 6f | 65 73 6e d5 74 20 75 73 |at it do|esn.t us| |000047c0| 75 61 6c 6c 79 20 6e 65 | 65 64 2c 20 62 75 74 20 |ually ne|ed, but | |000047d0| 74 68 61 74 20 69 74 20 | 72 65 71 75 69 72 65 73 |that it |requires| |000047e0| 20 66 6f 72 20 61 20 70 | 61 72 74 69 63 75 6c 61 | for a p|articula| |000047f0| 72 20 6f 70 65 72 61 74 | 69 6f 6e 2e 0d 53 42 4c |r operat|ion..SBL| |00004800| 6f 61 64 50 72 65 66 65 | 72 65 6e 63 65 73 0d 59 |oadPrefe|rences.Y| |00004810| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 53 |ou can u|se the S| |00004820| 42 4c 6f 61 64 50 72 65 | 66 65 72 65 6e 63 65 73 |BLoadPre|ferences| |00004830| 20 72 6f 75 74 69 6e 65 | 20 74 6f 20 6c 6f 61 64 | routine| to load| |00004840| 20 61 20 72 65 73 6f 75 | 72 63 65 20 66 72 6f 6d | a resou|rce from| |00004850| 20 61 20 70 72 65 66 65 | 72 65 6e 63 65 73 20 66 | a prefe|rences f| |00004860| 69 6c 65 2e 20 0d 70 61 | 73 63 61 6c 20 4f 53 45 |ile. .pa|scal OSE| |00004870| 72 72 20 53 42 4c 6f 61 | 64 50 72 65 66 65 72 65 |rr SBLoa|dPrefere| |00004880| 6e 63 65 73 28 43 6f 6e | 73 74 53 74 72 32 35 35 |nces(Con|stStr255| |00004890| 50 61 72 61 6d 20 70 72 | 65 66 73 52 65 73 6f 75 |Param pr|efsResou| |000048a0| 72 63 65 4e 61 6d 65 2c | 0d 20 20 20 20 20 20 20 |rceName,|. | |000048b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000048c0| 20 20 20 20 20 20 20 20 | 48 61 6e 64 6c 65 20 2a | |Handle *| |000048d0| 70 72 65 66 65 72 65 6e | 63 65 73 29 3b 0d 54 68 |preferen|ces);.Th| |000048e0| 65 20 53 42 4c 6f 61 64 | 50 72 65 66 65 72 65 6e |e SBLoad|Preferen| |000048f0| 63 65 73 20 72 6f 75 74 | 69 6e 65 20 6c 6f 61 64 |ces rout|ine load| |00004900| 73 20 61 20 72 65 73 6f | 75 72 63 65 20 63 6f 6e |s a reso|urce con| |00004910| 74 61 69 6e 69 6e 67 20 | 61 20 6d 6f 64 75 6c 65 |taining |a module| |00004920| d5 73 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |.s confi|guration| |00004930| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 66 72 6f | informa|tion fro| |00004940| 6d 20 74 68 65 20 43 6f | 6e 74 72 6f 6c 20 53 74 |m the Co|ntrol St| |00004950| 72 69 70 d5 73 20 70 72 | 65 66 65 72 65 6e 63 65 |rip.s pr|eference| |00004960| 73 20 66 69 6c 65 2e 20 | 54 68 65 20 70 72 65 66 |s file. |The pref| |00004970| 73 52 65 73 6f 75 72 63 | 65 4e 61 6d 65 20 70 61 |sResourc|eName pa| |00004980| 72 61 6d 65 74 65 72 20 | 70 6f 69 6e 74 73 20 74 |rameter |points t| |00004990| 6f 20 61 20 50 61 73 63 | 61 6c 20 73 74 72 69 6e |o a Pasc|al strin| |000049a0| 67 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |g contai|ning the| |000049b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 72 65 73 | name of| the res| |000049c0| 6f 75 72 63 65 2e 20 54 | 68 65 20 70 72 65 66 65 |ource. T|he prefe| |000049d0| 72 65 6e 63 65 73 20 70 | 61 72 61 6d 65 74 65 72 |rences p|arameter| |000049e0| 20 70 6f 69 6e 74 73 20 | 74 6f 20 61 20 76 61 72 | points |to a var| |000049f0| 69 61 62 6c 65 20 74 68 | 61 74 20 77 69 6c 6c 20 |iable th|at will | |00004a00| 68 6f 6c 64 20 61 20 68 | 61 6e 64 6c 65 20 74 6f |hold a h|andle to| |00004a10| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 72 65 | the res|ource re| |00004a20| 61 64 20 66 72 6f 6d 20 | 74 68 65 20 66 69 6c 65 |ad from |the file| |00004a30| 2e 20 20 54 68 65 20 68 | 61 6e 64 6c 65 20 64 6f |. The h|andle do| |00004a40| 65 73 20 6e 6f 74 20 6e | 65 65 64 20 74 6f 20 62 |es not n|eed to b| |00004a50| 65 20 70 72 65 61 6c 6c | 6f 63 61 74 65 64 2e 0d |e preall|ocated..| |00004a60| 49 66 20 65 69 74 68 65 | 72 20 70 72 65 66 73 52 |If eithe|r prefsR| |00004a70| 65 73 6f 75 72 63 65 4e | 61 6d 65 20 6f 72 20 70 |esourceN|ame or p| |00004a80| 72 65 66 65 72 65 6e 63 | 65 73 20 63 6f 6e 74 61 |referenc|es conta| |00004a90| 69 6e 73 20 61 20 6e 69 | 6c 20 70 6f 69 6e 74 65 |ins a ni|l pointe| |00004aa0| 72 2c 20 53 42 4c 6f 61 | 64 50 72 65 66 65 72 65 |r, SBLoa|dPrefere| |00004ab0| 6e 63 65 73 20 64 6f 65 | 73 20 6e 6f 74 68 69 6e |nces doe|s nothin| |00004ac0| 67 20 61 6e 64 20 72 65 | 74 75 72 6e 73 20 61 20 |g and re|turns a | |00004ad0| 72 65 73 75 6c 74 20 6f | 66 20 70 61 72 61 6d 45 |result o|f paramE| |00004ae0| 72 72 2e 20 49 66 20 74 | 68 65 20 72 65 73 6f 75 |rr. If t|he resou| |00004af0| 72 63 65 20 69 73 20 73 | 75 63 63 65 73 73 66 75 |rce is s|uccessfu| |00004b00| 6c 6c 79 20 6c 6f 61 64 | 65 64 2c 20 69 74 20 72 |lly load|ed, it r| |00004b10| 65 74 75 72 6e 73 20 61 | 20 72 65 73 75 6c 74 20 |eturns a| result | |00004b20| 6f 66 20 30 2e 20 20 53 | 42 4c 6f 61 64 50 72 65 |of 0. S|BLoadPre| |00004b30| 66 65 72 65 6e 63 65 73 | 20 63 61 6e 20 61 6c 73 |ferences| can als| |00004b40| 6f 20 72 65 74 75 72 6e | 20 6f 74 68 65 72 20 4d |o return| other M| |00004b50| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 20 61 6e |emory Ma|nager an| |00004b60| 64 20 52 65 73 6f 75 72 | 63 65 20 4d 61 6e 61 67 |d Resour|ce Manag| |00004b70| 65 72 20 65 72 72 6f 72 | 73 20 69 66 20 69 74 20 |er error|s if it | |00004b80| 66 61 69 6c 73 20 64 75 | 72 69 6e 67 20 73 6f 6d |fails du|ring som| |00004b90| 65 20 70 61 72 74 20 6f | 66 20 74 68 65 20 70 72 |e part o|f the pr| |00004ba0| 6f 63 65 73 73 2e 0d 53 | 42 53 61 76 65 50 72 65 |ocess..S|BSavePre| |00004bb0| 66 65 72 65 6e 63 65 73 | 0d 59 6f 75 20 63 61 6e |ferences|.You can| |00004bc0| 20 75 73 65 20 74 68 65 | 20 53 42 53 61 76 65 50 | use the| SBSaveP| |00004bd0| 72 65 66 65 72 65 6e 63 | 65 73 20 72 6f 75 74 69 |referenc|es routi| |00004be0| 6e 65 20 74 6f 20 73 61 | 76 65 20 61 20 72 65 73 |ne to sa|ve a res| |00004bf0| 6f 75 72 63 65 20 74 6f | 20 61 20 70 72 65 66 65 |ource to| a prefe| |00004c00| 72 65 6e 63 65 73 20 66 | 69 6c 65 2e 20 0d 70 61 |rences f|ile. .pa| |00004c10| 73 63 61 6c 20 4f 53 45 | 72 72 20 53 42 53 61 76 |scal OSE|rr SBSav| |00004c20| 65 50 72 65 66 65 72 65 | 6e 63 65 73 28 43 6f 6e |ePrefere|nces(Con| |00004c30| 73 74 53 74 72 32 35 35 | 50 61 72 61 6d 20 70 72 |stStr255|Param pr| |00004c40| 65 66 73 52 65 73 6f 75 | 72 63 65 4e 61 6d 65 2c |efsResou|rceName,| |00004c50| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |00004c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004c70| 48 61 6e 64 6c 65 20 70 | 72 65 66 65 72 65 6e 63 |Handle p|referenc| |00004c80| 65 73 29 3b 0d 54 68 65 | 20 53 42 53 61 76 65 50 |es);.The| SBSaveP| |00004c90| 72 65 66 65 72 65 6e 63 | 65 73 20 72 6f 75 74 69 |referenc|es routi| |00004ca0| 6e 65 20 73 61 76 65 73 | 20 61 20 72 65 73 6f 75 |ne saves| a resou| |00004cb0| 72 63 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 61 |rce cont|aining a| |00004cc0| 20 6d 6f 64 75 6c 65 d5 | 73 20 63 6f 6e 66 69 67 | module.|s config| |00004cd0| 75 72 61 74 69 6f 6e 20 | 69 6e 66 6f 72 6d 61 74 |uration |informat| |00004ce0| 69 6f 6e 20 74 6f 20 74 | 68 65 20 43 6f 6e 74 72 |ion to t|he Contr| |00004cf0| 6f 6c 20 53 74 72 69 70 | d5 73 20 70 72 65 66 65 |ol Strip|.s prefe| |00004d00| 72 65 6e 63 65 73 20 66 | 69 6c 65 2e 20 54 68 65 |rences f|ile. The| |00004d10| 20 70 72 65 66 73 52 65 | 73 6f 75 72 63 65 4e 61 | prefsRe|sourceNa| |00004d20| 6d 65 20 70 61 72 61 6d | 65 74 65 72 20 70 6f 69 |me param|eter poi| |00004d30| 6e 74 73 20 74 6f 20 61 | 20 50 61 73 63 61 6c 20 |nts to a| Pascal | |00004d40| 73 74 72 69 6e 67 20 63 | 6f 6e 74 61 69 6e 69 6e |string c|ontainin| |00004d50| 67 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |g the na|me of th| |00004d60| 65 20 72 65 73 6f 75 72 | 63 65 2e 20 54 68 65 20 |e resour|ce. The | |00004d70| 70 72 65 66 65 72 65 6e | 63 65 73 20 70 61 72 61 |preferen|ces para| |00004d80| 6d 65 74 65 72 20 63 6f | 6e 74 61 69 6e 73 20 61 |meter co|ntains a| |00004d90| 20 68 61 6e 64 6c 65 20 | 74 6f 20 61 20 62 6c 6f | handle |to a blo| |00004da0| 63 6b 20 6f 66 20 64 61 | 74 61 20 77 68 69 63 68 |ck of da|ta which| |00004db0| 20 77 69 6c 6c 20 62 65 | 20 77 72 69 74 74 65 6e | will be| written| |00004dc0| 20 74 6f 20 74 68 65 20 | 66 69 6c 65 2e 0d 49 66 | to the |file..If| |00004dd0| 20 65 69 74 68 65 72 20 | 70 72 65 66 73 52 65 73 | either |prefsRes| |00004de0| 6f 75 72 63 65 4e 61 6d | 65 20 6f 72 20 70 72 65 |ourceNam|e or pre| |00004df0| 66 65 72 65 6e 63 65 73 | 20 68 61 73 20 61 20 6e |ferences| has a n| |00004e00| 69 6c 20 76 61 6c 75 65 | 2c 20 53 42 53 61 76 65 |il value|, SBSave| |00004e10| 50 72 65 66 65 72 65 6e | 63 65 73 20 64 6f 65 73 |Preferen|ces does| |00004e20| 20 6e 6f 74 68 69 6e 67 | 20 61 6e 64 20 72 65 74 | nothing| and ret| |00004e30| 75 72 6e 73 20 61 20 72 | 65 73 75 6c 74 20 6f 66 |urns a r|esult of| |00004e40| 20 70 61 72 61 6d 45 72 | 72 2e 20 49 66 20 74 68 | paramEr|r. If th| |00004e50| 65 20 72 65 73 6f 75 72 | 63 65 20 69 73 20 73 75 |e resour|ce is su| |00004e60| 63 63 65 73 73 66 75 6c | 6c 79 20 73 61 76 65 64 |ccessful|ly saved| |00004e70| 2c 20 53 42 53 61 76 65 | 50 72 65 66 65 72 65 6e |, SBSave|Preferen| |00004e80| 63 65 73 20 72 65 74 75 | 72 6e 73 20 61 20 72 65 |ces retu|rns a re| |00004e90| 73 75 6c 74 20 6f 66 20 | 30 2e 20 53 42 53 61 76 |sult of |0. SBSav| |00004ea0| 65 50 72 65 66 65 72 65 | 6e 63 65 73 20 63 61 6e |ePrefere|nces can| |00004eb0| 20 61 6c 73 6f 20 72 65 | 74 75 72 6e 20 6f 74 68 | also re|turn oth| |00004ec0| 65 72 20 4d 65 6d 6f 72 | 79 20 4d 61 6e 61 67 65 |er Memor|y Manage| |00004ed0| 72 20 61 6e 64 20 52 65 | 73 6f 75 72 63 65 20 4d |r and Re|source M| |00004ee0| 61 6e 61 67 65 72 20 65 | 72 72 6f 72 73 20 69 66 |anager e|rrors if| |00004ef0| 20 69 74 20 66 61 69 6c | 73 20 64 75 72 69 6e 67 | it fail|s during| |00004f00| 20 73 6f 6d 65 20 70 61 | 72 74 20 6f 66 20 74 68 | some pa|rt of th| |00004f10| 65 20 70 72 6f 63 65 73 | 73 2e 0d 53 42 47 65 74 |e proces|s..SBGet| |00004f20| 44 65 74 61 63 68 65 64 | 49 6e 64 53 74 72 69 6e |Detached|IndStrin| |00004f30| 67 0d 59 6f 75 20 63 61 | 6e 20 75 73 65 20 74 68 |g.You ca|n use th| |00004f40| 65 20 53 42 47 65 74 44 | 65 74 61 63 68 65 64 49 |e SBGetD|etachedI| |00004f50| 6e 64 53 74 72 69 6e 67 | 20 72 6f 75 74 69 6e 65 |ndString| routine| |00004f60| 20 74 6f 20 67 65 74 20 | 61 20 73 74 72 69 6e 67 | to get |a string| |00004f70| 20 66 72 6f 6d 20 61 20 | 20 64 65 74 61 63 68 65 | from a | detache| |00004f80| 64 20 72 65 73 6f 75 72 | 63 65 2e 0d 70 61 73 63 |d resour|ce..pasc| |00004f90| 61 6c 20 76 6f 69 64 20 | 53 42 47 65 74 44 65 74 |al void |SBGetDet| |00004fa0| 61 63 68 65 64 49 6e 64 | 53 74 72 69 6e 67 28 53 |achedInd|String(S| |00004fb0| 74 72 69 6e 67 50 74 72 | 20 74 68 65 53 74 72 69 |tringPtr| theStri| |00004fc0| 6e 67 2c 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ng,. | | |00004fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004fe0| 20 20 20 20 20 20 20 48 | 61 6e 64 6c 65 20 73 74 | H|andle st| |00004ff0| 72 69 6e 67 4c 69 73 74 | 2c 0d 20 20 20 20 20 20 |ringList|,. | |00005000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 68 6f | | sho| |00005020| 72 74 20 77 68 69 63 68 | 53 74 72 69 6e 67 29 3b |rt which|String);| |00005030| 0d 54 68 65 20 53 42 47 | 65 74 44 65 74 61 63 68 |.The SBG|etDetach| |00005040| 65 64 49 6e 64 53 74 72 | 69 6e 67 20 72 6f 75 74 |edIndStr|ing rout| |00005050| 69 6e 65 20 69 73 20 74 | 68 65 20 64 65 74 61 63 |ine is t|he detac| |00005060| 68 65 64 20 72 65 73 6f | 75 72 63 65 20 76 65 72 |hed reso|urce ver| |00005070| 73 69 6f 6e 20 6f 66 20 | 47 65 74 49 6e 64 53 74 |sion of |GetIndSt| |00005080| 72 69 6e 67 2e 20 20 54 | 68 65 20 70 61 72 61 6d |ring. T|he param| |00005090| 65 74 65 72 20 74 68 65 | 53 74 72 69 6e 67 20 70 |eter the|String p| |000050a0| 6f 69 6e 74 73 20 74 6f | 20 61 20 50 61 73 63 61 |oints to| a Pasca| |000050b0| 6c 20 73 74 72 69 6e 67 | 3b 20 73 74 72 69 6e 67 |l string|; string| |000050c0| 4c 69 73 74 20 69 73 20 | 61 20 68 61 6e 64 6c 65 |List is |a handle| |000050d0| 20 74 6f 20 61 20 64 65 | 74 61 63 68 65 64 20 27 | to a de|tached '| |000050e0| 53 54 52 23 27 20 72 65 | 73 6f 75 72 63 65 3b 20 |STR#' re|source; | |000050f0| 61 6e 64 20 77 68 69 63 | 68 53 74 72 69 6e 67 20 |and whic|hString | |00005100| 69 73 20 74 68 65 20 69 | 6e 64 65 78 20 28 31 d0 |is the i|ndex (1.| |00005110| 6e 29 20 69 6e 74 6f 20 | 74 68 65 20 61 72 72 61 |n) into |the arra| |00005120| 79 20 6f 66 20 50 61 73 | 63 61 6c 20 73 74 72 69 |y of Pas|cal stri| |00005130| 6e 67 73 20 63 6f 6e 74 | 61 69 6e 65 64 20 69 6e |ngs cont|ained in| |00005140| 20 74 68 65 20 64 65 74 | 61 63 68 65 64 20 72 65 | the det|ached re| |00005150| 73 6f 75 72 63 65 2e 20 | 20 53 42 47 65 74 44 65 |source. | SBGetDe| |00005160| 74 61 63 68 65 64 49 6e | 64 53 74 72 69 6e 67 20 |tachedIn|dString | |00005170| 77 69 6c 6c 20 63 6f 70 | 79 20 74 68 65 20 73 74 |will cop|y the st| |00005180| 72 69 6e 67 20 77 68 6f | 73 65 20 69 6e 64 65 78 |ring who|se index| |00005190| 20 69 73 20 77 68 69 63 | 68 53 74 72 69 6e 67 20 | is whic|hString | |000051a0| 69 6e 74 6f 20 74 68 65 | 20 73 70 61 63 65 20 70 |into the| space p| |000051b0| 6f 69 6e 74 65 64 20 74 | 6f 20 62 79 20 74 68 65 |ointed t|o by the| |000051c0| 53 74 72 69 6e 67 2e 20 | 20 49 66 20 77 68 69 63 |String. | If whic| |000051d0| 68 53 74 72 69 6e 67 20 | 69 73 20 6f 75 74 20 6f |hString |is out o| |000051e0| 66 20 72 61 6e 67 65 2c | 20 53 42 47 65 74 44 65 |f range,| SBGetDe| |000051f0| 74 61 63 68 65 64 49 6e | 64 53 74 72 69 6e 67 20 |tachedIn|dString | |00005200| 77 69 6c 6c 20 72 65 74 | 75 72 6e 20 61 20 7a 65 |will ret|urn a ze| |00005210| 72 6f 2d 6c 65 6e 67 74 | 68 20 73 74 72 69 6e 67 |ro-lengt|h string| |00005220| 2e 0d 53 42 47 65 74 44 | 65 74 61 63 68 49 63 6f |..SBGetD|etachIco| |00005230| 6e 53 75 69 74 65 0d 59 | 6f 75 20 63 61 6e 20 75 |nSuite.Y|ou can u| |00005240| 73 65 20 74 68 65 20 53 | 42 47 65 74 44 65 74 61 |se the S|BGetDeta| |00005250| 63 68 49 63 6f 6e 53 75 | 69 74 65 20 72 6f 75 74 |chIconSu|ite rout| |00005260| 69 6e 65 20 74 6f 20 73 | 65 74 20 75 70 20 61 20 |ine to s|et up a | |00005270| 64 65 74 61 63 68 65 64 | 20 69 63 6f 6e 20 73 75 |detached| icon su| |00005280| 69 74 65 2e 0d 70 61 73 | 63 61 6c 20 4f 53 45 72 |ite..pas|cal OSEr| |00005290| 72 20 53 42 47 65 74 44 | 65 74 61 63 68 49 63 6f |r SBGetD|etachIco| |000052a0| 6e 53 75 69 74 65 28 48 | 61 6e 64 6c 65 20 2a 74 |nSuite(H|andle *t| |000052b0| 68 65 49 63 6f 6e 53 75 | 69 74 65 2c 0d 20 20 20 |heIconSu|ite,. | |000052c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000052d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 73 | | s| |000052e0| 68 6f 72 74 20 74 68 65 | 52 65 73 49 44 2c 0d 20 |hort the|ResID,. | |000052f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005310| 20 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 73 | unsigne|d long s| |00005320| 65 6c 65 63 74 6f 72 29 | 3b 0d 54 68 65 20 53 42 |elector)|;.The SB| |00005330| 47 65 74 44 65 74 61 63 | 68 49 63 6f 6e 53 75 69 |GetDetac|hIconSui| |00005340| 74 65 20 72 6f 75 74 69 | 6e 65 20 63 72 65 61 74 |te routi|ne creat| |00005350| 65 73 20 61 20 6e 65 77 | 20 69 63 6f 6e 20 73 75 |es a new| icon su| |00005360| 69 74 65 2c 20 6c 6f 61 | 64 73 20 61 6c 6c 20 6f |ite, loa|ds all o| |00005370| 66 20 74 68 65 20 72 65 | 71 75 65 73 74 65 64 20 |f the re|quested | |00005380| 69 63 6f 6e 73 2c 20 61 | 6e 64 20 74 68 65 6e 20 |icons, a|nd then | |00005390| 64 65 74 61 63 68 65 73 | 20 74 68 65 20 69 63 6f |detaches| the ico| |000053a0| 6e 73 2e 20 54 68 65 20 | 70 61 72 61 6d 65 74 65 |ns. The |paramete| |000053b0| 72 20 74 68 65 49 63 6f | 6e 53 75 69 74 65 20 70 |r theIco|nSuite p| |000053c0| 6f 69 6e 74 73 20 74 6f | 20 74 68 65 20 6c 6f 63 |oints to| the loc| |000053d0| 61 74 69 6f 6e 20 77 68 | 65 72 65 20 74 68 65 20 |ation wh|ere the | |000053e0| 68 61 6e 64 6c 65 20 74 | 6f 20 74 68 65 20 69 63 |handle t|o the ic| |000053f0| 6f 6e 20 73 75 69 74 65 | 20 77 69 6c 6c 20 62 65 |on suite| will be| |00005400| 20 73 74 6f 72 65 64 3b | 20 74 68 65 20 70 61 72 | stored;| the par| |00005410| 61 6d 65 74 65 72 20 74 | 68 65 52 65 73 49 44 20 |ameter t|heResID | |00005420| 69 73 20 74 68 65 20 72 | 65 73 6f 75 72 63 65 20 |is the r|esource | |00005430| 49 44 20 6f 66 20 74 68 | 65 20 69 63 6f 6e 73 20 |ID of th|e icons | |00005440| 74 68 61 74 20 6d 61 6b | 65 20 75 70 20 74 68 65 |that mak|e up the| |00005450| 20 69 63 6f 6e 20 73 75 | 69 74 65 3b 20 61 6e 64 | icon su|ite; and| |00005460| 20 74 68 65 20 70 61 72 | 61 6d 65 74 65 72 20 73 | the par|ameter s| |00005470| 65 6c 65 63 74 6f 72 20 | 74 65 6c 6c 73 20 77 68 |elector |tells wh| |00005480| 69 63 68 20 69 63 6f 6e | 73 20 73 68 6f 75 6c 64 |ich icon|s should| |00005490| 20 62 65 20 6c 6f 61 64 | 65 64 20 69 6e 74 6f 20 | be load|ed into | |000054a0| 74 68 65 20 73 75 69 74 | 65 2e 20 20 54 68 65 20 |the suit|e. The | |000054b0| 73 65 6c 65 63 74 6f 72 | 20 70 61 72 61 6d 65 74 |selector| paramet| |000054c0| 65 72 20 73 68 6f 75 6c | 64 20 74 79 70 69 63 61 |er shoul|d typica| |000054d0| 6c 6c 79 20 63 6f 6e 74 | 61 69 6e 20 6f 6e 65 20 |lly cont|ain one | |000054e0| 28 6f 72 20 61 20 63 6f | 6d 62 69 6e 61 74 69 6f |(or a co|mbinatio| |000054f0| 6e 20 6f 66 29 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |n of) th|e follow| |00005500| 69 6e 67 20 76 61 6c 75 | 65 73 3a 0d 73 76 41 6c |ing valu|es:.svAl| |00005510| 6c 4c 61 72 67 65 44 61 | 74 61 09 30 78 30 30 30 |lLargeDa|ta.0x000| |00005520| 30 30 30 46 46 09 6c 6f | 61 64 20 6c 61 72 67 65 |000FF.lo|ad large| |00005530| 20 33 32 2d 62 79 2d 33 | 32 2d 70 69 78 65 6c 20 | 32-by-3|2-pixel | |00005540| 69 63 6f 6e 73 20 28 27 | 49 43 4e 23 27 2c 20 27 |icons ('|ICN#', '| |00005550| 69 63 6c 34 27 2c 20 27 | 69 63 6c 38 27 29 0d 73 |icl4', '|icl8').s| |00005560| 76 41 6c 6c 53 6d 61 6c | 6c 44 61 74 61 09 30 78 |vAllSmal|lData.0x| |00005570| 30 30 30 30 46 46 30 30 | 09 6c 6f 61 64 20 73 6d |0000FF00|.load sm| |00005580| 61 6c 6c 20 31 36 2d 62 | 79 2d 31 36 2d 70 69 78 |all 16-b|y-16-pix| |00005590| 65 6c 20 69 63 6f 6e 73 | 20 28 27 69 63 73 23 27 |el icons| ('ics#'| |000055a0| 2c 20 27 69 63 73 34 27 | 2c 20 27 69 63 73 38 27 |, 'ics4'|, 'ics8'| |000055b0| 29 0d 73 76 41 6c 6c 4d | 69 6e 69 44 61 74 61 09 |).svAllM|iniData.| |000055c0| 30 78 30 30 46 46 30 30 | 30 30 09 6c 6f 61 64 20 |0x00FF00|00.load | |000055d0| 6d 69 6e 69 20 31 32 2d | 62 79 2d 31 32 2d 70 69 |mini 12-|by-12-pi| |000055e0| 78 65 6c 20 69 63 6f 6e | 73 20 28 27 69 63 6d 23 |xel icon|s ('icm#| |000055f0| 27 2c 20 27 69 63 6d 34 | 27 2c 20 27 69 63 6d 38 |', 'icm4|', 'icm8| |00005600| 27 29 0d 54 68 65 73 65 | 20 76 61 6c 75 65 73 20 |').These| values | |00005610| 6d 61 79 20 62 65 20 4f | 52 2d 65 64 20 74 6f 67 |may be O|R-ed tog| |00005620| 65 74 68 65 72 20 74 6f | 20 6c 6f 61 64 20 63 6f |ether to| load co| |00005630| 6d 62 69 6e 61 74 69 6f | 6e 73 20 6f 66 20 69 63 |mbinatio|ns of ic| |00005640| 6f 6e 20 73 69 7a 65 73 | 2e 20 20 53 42 47 65 74 |on sizes|. SBGet| |00005650| 44 65 74 61 63 68 49 63 | 6f 6e 53 75 69 74 65 20 |DetachIc|onSuite | |00005660| 72 65 74 75 72 6e 73 20 | 61 6e 20 61 70 70 72 6f |returns |an appro| |00005670| 70 72 69 61 74 65 20 65 | 72 72 6f 72 20 63 6f 64 |priate e|rror cod| |00005680| 65 20 69 66 20 69 74 d5 | 73 20 75 6e 73 75 63 63 |e if it.|s unsucc| |00005690| 65 73 73 66 75 6c 2c 20 | 6f 72 20 30 20 69 66 20 |essful, |or 0 if | |000056a0| 69 74 20 77 61 73 20 61 | 62 6c 65 20 74 6f 20 6c |it was a|ble to l| |000056b0| 6f 61 64 20 74 68 65 20 | 69 63 6f 6e 20 73 75 69 |oad the |icon sui| |000056c0| 74 65 2e 20 20 4e 6f 74 | 65 20 74 68 61 74 20 69 |te. Not|e that i| |000056d0| 66 20 6e 6f 6e 65 20 6f | 66 20 74 68 65 20 69 63 |f none o|f the ic| |000056e0| 6f 6e 73 20 63 6f 6d 70 | 72 69 73 69 6e 67 20 74 |ons comp|rising t| |000056f0| 68 65 20 69 63 6f 6e 20 | 73 75 69 74 65 20 63 6f |he icon |suite co| |00005700| 75 6c 64 20 62 65 20 66 | 6f 75 6e 64 2c 20 74 68 |uld be f|ound, th| |00005710| 65 20 63 61 6c 6c 20 72 | 65 74 75 72 6e 73 20 74 |e call r|eturns t| |00005720| 68 65 20 65 72 72 6f 72 | 20 72 65 73 4e 6f 74 46 |he error| resNotF| |00005730| 6f 75 6e 64 2e 0d 57 61 | 72 6e 69 6e 67 3a 09 59 |ound..Wa|rning:.Y| |00005740| 6f 75 20 73 68 6f 75 6c | 64 20 63 61 6c 6c 20 53 |ou shoul|d call S| |00005750| 42 47 65 74 44 65 74 61 | 63 68 49 63 6f 6e 53 75 |BGetDeta|chIconSu| |00005760| 69 74 65 20 6f 6e 6c 79 | 20 77 68 65 6e 20 74 68 |ite only| when th| |00005770| 65 20 6d 6f 64 75 6c 65 | d5 73 20 72 65 73 6f 75 |e module|.s resou| |00005780| 72 63 65 20 66 69 6c 65 | 20 69 73 20 6f 70 65 6e |rce file| is open| |00005790| 2c 20 77 68 69 63 68 20 | 69 73 20 74 79 70 69 63 |, which |is typic| |000057a0| 61 6c 6c 79 20 74 68 65 | 20 63 61 73 65 20 64 75 |ally the| case du| |000057b0| 72 69 6e 67 20 61 20 6d | 6f 64 75 6c 65 d5 73 20 |ring a m|odule.s | |000057c0| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 20 63 |initiali|zation c| |000057d0| 61 6c 6c 2e 0d 53 42 54 | 72 61 63 6b 70 6f 70 75 |all..SBT|rackpopu| |000057e0| 70 4d 65 6e 75 0d 59 6f | 75 20 63 61 6e 20 75 73 |pMenu.Yo|u can us| |000057f0| 65 20 74 68 65 20 53 42 | 54 72 61 63 6b 70 6f 70 |e the SB|Trackpop| |00005800| 75 70 4d 65 6e 75 20 72 | 6f 75 74 69 6e 65 20 74 |upMenu r|outine t| |00005810| 6f 20 6d 61 6e 61 67 65 | 20 61 20 70 6f 70 2d 75 |o manage| a pop-u| |00005820| 70 20 6d 65 6e 75 2e 20 | 0d 70 61 73 63 61 6c 20 |p menu. |.pascal | |00005830| 73 68 6f 72 74 20 53 42 | 54 72 61 63 6b 70 6f 70 |short SB|Trackpop| |00005840| 75 70 4d 65 6e 75 28 63 | 6f 6e 73 74 20 52 65 63 |upMenu(c|onst Rec| |00005850| 74 20 2a 6d 6f 64 75 6c | 65 52 65 63 74 2c 0d 20 |t *modul|eRect,. | |00005860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 65 6e | | Men| |00005880| 75 48 61 6e 64 6c 65 20 | 74 68 65 4d 65 6e 75 29 |uHandle |theMenu)| |00005890| 3b 0d 54 68 65 20 53 42 | 54 72 61 63 6b 70 6f 70 |;.The SB|Trackpop| |000058a0| 75 70 4d 65 6e 75 20 72 | 6f 75 74 69 6e 65 20 68 |upMenu r|outine h| |000058b0| 61 6e 64 6c 65 73 20 73 | 65 74 74 69 6e 67 20 75 |andles s|etting u| |000058c0| 70 20 61 6e 64 20 64 69 | 73 70 6c 61 79 69 6e 67 |p and di|splaying| |000058d0| 20 61 20 70 6f 70 2d 75 | 70 20 6d 65 6e 75 20 61 | a pop-u|p menu a| |000058e0| 73 73 6f 63 69 61 74 65 | 64 20 77 69 74 68 20 61 |ssociate|d with a| |000058f0| 20 6d 6f 64 75 6c 65 2e | 20 20 54 68 65 20 6d 6f | module.| The mo| |00005900| 64 75 6c 65 20 73 68 6f | 75 6c 64 20 70 61 73 73 |dule sho|uld pass| |00005910| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 69 74 | a point|er to it| |00005920| 73 20 64 69 73 70 6c 61 | 79 20 72 65 63 74 61 6e |s displa|y rectan| |00005930| 67 6c 65 20 61 6e 64 20 | 61 20 68 61 6e 64 6c 65 |gle and |a handle| |00005940| 20 74 6f 20 74 68 65 20 | 6d 65 6e 75 20 74 6f 20 | to the |menu to | |00005950| 75 73 65 2e 20 20 54 68 | 65 20 6d 65 6e 75 20 77 |use. Th|e menu w| |00005960| 69 6c 6c 20 62 65 20 64 | 69 73 70 6c 61 79 65 64 |ill be d|isplayed| |00005970| 20 6a 75 73 74 20 61 62 | 6f 76 65 20 6f 72 20 62 | just ab|ove or b| |00005980| 65 6c 6f 77 20 74 68 65 | 20 6d 6f 64 75 6c 65 d5 |elow the| module.| |00005990| 73 20 64 69 73 70 6c 61 | 79 20 72 65 63 74 61 6e |s displa|y rectan| |000059a0| 67 6c 65 2c 20 61 6c 6c | 6f 77 69 6e 67 20 74 68 |gle, all|owing th| |000059b0| 65 20 75 73 65 72 20 74 | 6f 20 76 69 65 77 20 74 |e user t|o view t| |000059c0| 68 65 20 63 75 72 72 65 | 6e 74 20 63 6f 6e 66 69 |he curre|nt confi| |000059d0| 67 75 72 61 74 69 6f 6e | 20 6f 72 20 74 6f 20 63 |guration| or to c| |000059e0| 68 61 6e 67 65 20 74 68 | 65 20 73 65 74 74 69 6e |hange th|e settin| |000059f0| 67 73 2e 20 20 53 42 54 | 72 61 63 6b 70 6f 70 75 |gs. SBT|rackpopu| |00005a00| 70 4d 65 6e 75 20 72 65 | 74 75 72 6e 73 20 77 68 |pMenu re|turns wh| |00005a10| 69 63 68 20 6d 65 6e 75 | 20 69 74 65 6d 20 77 61 |ich menu| item wa| |00005a20| 73 20 73 65 6c 65 63 74 | 65 64 2c 20 6f 72 20 30 |s select|ed, or 0| |00005a30| 20 69 66 20 6e 6f 20 69 | 74 65 6d 20 77 61 73 20 | if no i|tem was | |00005a40| 73 65 6c 65 63 74 65 64 | 20 62 65 63 61 75 73 65 |selected| because| |00005a50| 20 74 68 65 20 75 73 65 | 72 20 6d 6f 76 65 64 20 | the use|r moved | |00005a60| 74 68 65 20 63 75 72 73 | 6f 72 20 6f 75 74 73 69 |the curs|or outsi| |00005a70| 64 65 20 74 68 65 20 6d | 65 6e 75 d5 73 20 62 6f |de the m|enu.s bo| |00005a80| 75 6e 64 73 2e 20 0d 57 | 61 72 6e 69 6e 67 3a 09 |unds. .W|arning:.| |00005a90| 4d 65 6e 75 73 20 61 72 | 65 20 64 69 73 70 6c 61 |Menus ar|e displa| |00005aa0| 79 65 64 20 69 6e 20 74 | 68 65 20 43 6f 6e 74 72 |yed in t|he Contr| |00005ab0| 6f 6c 20 53 74 72 69 70 | d5 73 20 66 6f 6e 74 2c |ol Strip|.s font,| |00005ac0| 20 73 6f 20 64 6f 6e d5 | 74 20 75 73 65 20 74 68 | so don.|t use th| |00005ad0| 65 20 43 68 65 63 6b 49 | 74 65 6d 28 29 20 72 6f |e CheckI|tem() ro| |00005ae0| 75 74 69 6e 65 20 74 6f | 20 6d 61 72 6b 20 6d 65 |utine to| mark me| |00005af0| 6e 75 20 69 74 65 6d 73 | 2c 20 62 65 63 61 75 73 |nu items|, becaus| |00005b00| 65 20 61 20 63 68 65 63 | 6b 6d 61 72 6b 20 69 73 |e a chec|kmark is| |00005b10| 20 73 75 70 70 6f 72 74 | 65 64 20 6f 6e 6c 79 20 | support|ed only | |00005b20| 69 6e 20 74 68 65 20 73 | 79 73 74 65 6d 20 66 6f |in the s|ystem fo| |00005b30| 6e 74 2e 20 20 55 73 65 | 20 74 68 65 20 53 65 74 |nt. Use| the Set| |00005b40| 49 74 65 6d 4d 61 72 6b | 28 29 20 72 6f 75 74 69 |ItemMark|() routi| |00005b50| 6e 65 20 69 6e 73 74 65 | 61 64 20 61 6e 64 20 70 |ne inste|ad and p| |00005b60| 61 73 73 20 69 74 20 61 | 20 62 75 6c 6c 65 74 20 |ass it a| bullet | |00005b70| 28 a5 29 2e 0d 53 42 54 | 72 61 63 6b 53 6c 69 64 |(.)..SBT|rackSlid| |00005b80| 65 72 0d 59 6f 75 20 63 | 61 6e 20 75 73 65 20 74 |er.You c|an use t| |00005b90| 68 65 20 53 42 54 72 61 | 63 6b 53 6c 69 64 65 72 |he SBTra|ckSlider| |00005ba0| 20 72 6f 75 74 69 6e 65 | 20 74 6f 20 64 69 73 70 | routine| to disp| |00005bb0| 6c 61 79 20 61 6e 64 20 | 73 65 74 20 61 6e 20 61 |lay and |set an a| |00005bc0| 72 62 69 74 72 61 72 79 | 20 70 61 72 61 6d 65 74 |rbitrary| paramet| |00005bd0| 65 72 2e 20 0d 70 61 73 | 63 61 6c 20 73 68 6f 72 |er. .pas|cal shor| |00005be0| 74 20 53 42 54 72 61 63 | 6b 53 6c 69 64 65 72 28 |t SBTrac|kSlider(| |00005bf0| 63 6f 6e 73 74 20 52 65 | 63 74 20 2a 6d 6f 64 75 |const Re|ct *modu| |00005c00| 6c 65 52 65 63 74 2c 0d | 20 20 20 20 20 20 20 20 |leRect,.| | |00005c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005c20| 20 20 20 73 68 6f 72 74 | 20 74 69 63 6b 73 4f 6e | short| ticksOn| |00005c30| 53 6c 69 64 65 72 2c 0d | 20 20 20 20 20 20 20 20 |Slider,.| | |00005c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005c50| 20 20 20 73 68 6f 72 74 | 20 69 6e 69 74 69 61 6c | short| initial| |00005c60| 56 61 6c 75 65 29 3b 0d | 54 68 65 20 53 42 54 72 |Value);.|The SBTr| |00005c70| 61 63 6b 53 6c 69 64 65 | 72 20 72 6f 75 74 69 6e |ackSlide|r routin| |00005c80| 65 20 64 69 73 70 6c 61 | 79 73 20 61 6e 20 75 6e |e displa|ys an un| |00005c90| 6c 61 62 65 6c 65 64 20 | 73 6c 69 64 65 72 20 61 |labeled |slider a| |00005ca0| 62 6f 76 65 20 74 68 65 | 20 6d 6f 64 75 6c 65 d5 |bove the| module.| |00005cb0| 73 20 64 69 73 70 6c 61 | 79 20 72 65 63 74 61 6e |s displa|y rectan| |00005cc0| 67 6c 65 2e 20 20 59 6f | 75 20 63 61 6e 20 75 73 |gle. Yo|u can us| |00005cd0| 65 20 74 68 65 20 73 6c | 69 64 65 72 20 66 6f 72 |e the sl|ider for| |00005ce0| 20 64 69 73 70 6c 61 79 | 69 6e 67 20 61 6e 64 20 | display|ing and | |00005cf0| 73 65 74 74 69 6e 67 20 | 74 68 65 20 73 74 61 74 |setting |the stat| |00005d00| 65 20 6f 66 20 61 6e 20 | 61 72 62 69 74 72 61 72 |e of an |arbitrar| |00005d10| 79 20 70 61 72 61 6d 65 | 74 65 72 2e 20 54 68 65 |y parame|ter. The| |00005d20| 20 70 61 72 61 6d 65 74 | 65 72 20 6d 6f 64 75 6c | paramet|er modul| |00005d30| 65 52 65 63 74 20 63 6f | 6e 74 61 69 6e 73 20 61 |eRect co|ntains a| |00005d40| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 74 68 65 20 | pointer| to the | |00005d50| 6d 6f 64 75 6c 65 d5 73 | 20 64 69 73 70 6c 61 79 |module.s| display| |00005d60| 20 72 65 63 74 61 6e 67 | 6c 65 3b 20 74 69 63 6b | rectang|le; tick| |00005d70| 73 4f 6e 53 6c 69 64 65 | 72 20 69 73 20 74 68 65 |sOnSlide|r is the| |00005d80| 20 75 70 70 65 72 20 62 | 6f 75 6e 64 73 20 6f 66 | upper b|ounds of| |00005d90| 20 74 68 65 20 76 61 6c | 75 65 20 72 65 74 75 72 | the val|ue retur| |00005da0| 6e 65 64 20 62 79 20 74 | 68 65 20 73 6c 69 64 65 |ned by t|he slide| |00005db0| 72 3b 20 61 6e 64 20 69 | 6e 69 74 69 61 6c 56 61 |r; and i|nitialVa| |00005dc0| 6c 75 65 20 69 73 20 74 | 68 65 20 73 74 61 72 74 |lue is t|he start| |00005dd0| 69 6e 67 20 70 6f 73 69 | 74 69 6f 6e 20 28 30 20 |ing posi|tion (0 | |00005de0| 74 6f 20 74 69 63 6b 73 | 4f 6e 53 6c 69 64 65 72 |to ticks|OnSlider| |00005df0| d0 31 29 2e 20 20 20 57 | 68 65 6e 20 74 68 65 20 |.1). W|hen the | |00005e00| 75 73 65 72 20 72 65 6c | 65 61 73 65 73 20 74 68 |user rel|eases th| |00005e10| 65 20 6d 6f 75 73 65 20 | 62 75 74 74 6f 6e 2c 20 |e mouse |button, | |00005e20| 53 42 54 72 61 63 6b 53 | 6c 69 64 65 72 20 72 65 |SBTrackS|lider re| |00005e30| 74 75 72 6e 73 20 74 68 | 65 20 66 69 6e 61 6c 20 |turns th|e final | |00005e40| 70 6f 73 69 74 69 6f 6e | 2e 0d 53 42 53 68 6f 77 |position|..SBShow| |00005e50| 48 65 6c 70 53 74 72 69 | 6e 67 0d 59 6f 75 20 63 |HelpStri|ng.You c| |00005e60| 61 6e 20 75 73 65 20 74 | 68 65 20 53 42 53 68 6f |an use t|he SBSho| |00005e70| 77 48 65 6c 70 53 74 72 | 69 6e 67 20 72 6f 75 74 |wHelpStr|ing rout| |00005e80| 69 6e 65 20 74 6f 20 64 | 69 73 70 6c 61 79 20 61 |ine to d|isplay a| |00005e90| 20 48 65 6c 70 20 62 61 | 6c 6c 6f 6f 6e 2e 20 0d | Help ba|lloon. .| |00005ea0| 70 61 73 63 61 6c 20 4f | 53 45 72 72 20 53 42 53 |pascal O|SErr SBS| |00005eb0| 68 6f 77 48 65 6c 70 53 | 74 72 69 6e 67 28 63 6f |howHelpS|tring(co| |00005ec0| 6e 73 74 20 52 65 63 74 | 20 2a 6d 6f 64 75 6c 65 |nst Rect| *module| |00005ed0| 52 65 63 74 2c 0d 20 20 | 20 20 20 20 20 20 20 20 |Rect,. | | |00005ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005ef0| 20 20 20 20 53 74 72 69 | 6e 67 50 74 72 20 68 65 | Stri|ngPtr he| |00005f00| 6c 70 53 74 72 69 6e 67 | 29 3b 0d 54 68 65 20 53 |lpString|);.The S| |00005f10| 42 53 68 6f 77 48 65 6c | 70 53 74 72 69 6e 67 20 |BShowHel|pString | |00005f20| 72 6f 75 74 69 6e 65 20 | 64 69 73 70 6c 61 79 73 |routine |displays| |00005f30| 20 61 20 6d 6f 64 75 6c | 65 d5 73 20 48 65 6c 70 | a modul|e.s Help| |00005f40| 20 62 61 6c 6c 6f 6f 6e | 2e 20 20 54 68 65 20 6d | balloon|. The m| |00005f50| 6f 64 75 6c 65 20 70 61 | 73 73 65 73 20 61 20 70 |odule pa|sses a p| |00005f60| 6f 69 6e 74 65 72 20 74 | 6f 20 69 74 73 20 64 69 |ointer t|o its di| |00005f70| 73 70 6c 61 79 20 72 65 | 63 74 61 6e 67 6c 65 20 |splay re|ctangle | |00005f80| 61 6e 64 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f |and a po|inter to| |00005f90| 20 61 20 50 61 73 63 61 | 6c 20 73 74 72 69 6e 67 | a Pasca|l string| |00005fa0| 2c 20 61 6e 64 20 74 68 | 65 20 72 6f 75 74 69 6e |, and th|e routin| |00005fb0| 65 20 64 69 73 70 6c 61 | 79 73 20 74 68 65 20 62 |e displa|ys the b| |00005fc0| 61 6c 6c 6f 6f 6e 20 69 | 66 20 70 6f 73 73 69 62 |alloon i|f possib| |00005fd0| 6c 65 2e 20 20 49 66 20 | 74 68 65 20 68 65 6c 70 |le. If |the help| |00005fe0| 20 73 74 72 69 6e 67 20 | 68 61 73 20 61 20 6c 65 | string |has a le| |00005ff0| 6e 67 74 68 20 6f 66 20 | 30 20 6f 72 20 74 68 65 |ngth of |0 or the| |00006000| 20 48 65 6c 70 20 4d 61 | 6e 61 67 65 72 20 69 73 | Help Ma|nager is| |00006010| 20 75 6e 61 62 6c 65 20 | 74 6f 20 64 69 73 70 6c | unable |to displ| |00006020| 61 79 20 61 20 62 61 6c | 6c 6f 6f 6e 2c 20 61 6e |ay a bal|loon, an| |00006030| 20 65 72 72 6f 72 20 72 | 65 73 75 6c 74 20 69 73 | error r|esult is| |00006040| 20 72 65 74 75 72 6e 65 | 64 2e 20 49 66 20 53 42 | returne|d. If SB| |00006050| 53 68 6f 77 48 65 6c 70 | 53 74 72 69 6e 67 20 73 |ShowHelp|String s| |00006060| 75 63 63 65 73 73 66 75 | 6c 6c 79 20 64 69 73 70 |uccessfu|lly disp| |00006070| 6c 61 79 73 20 74 68 65 | 20 48 65 6c 70 20 62 61 |lays the| Help ba| |00006080| 6c 6c 6f 6f 6e 2c 20 69 | 74 20 72 65 74 75 72 6e |lloon, i|t return| |00006090| 73 20 61 20 72 65 73 75 | 6c 74 20 6f 66 20 30 2e |s a resu|lt of 0.| |000060a0| 0d 53 42 47 65 74 42 61 | 72 47 72 61 70 68 57 69 |.SBGetBa|rGraphWi| |000060b0| 64 74 68 0d 59 6f 75 20 | 63 61 6e 20 75 73 65 20 |dth.You |can use | |000060c0| 74 68 65 20 53 42 47 65 | 74 42 61 72 47 72 61 70 |the SBGe|tBarGrap| |000060d0| 68 57 69 64 74 68 20 72 | 6f 75 74 69 6e 65 20 74 |hWidth r|outine t| |000060e0| 6f 20 66 69 6e 64 20 6f | 75 74 20 74 68 65 20 68 |o find o|ut the h| |000060f0| 6f 77 20 77 69 64 65 20 | 61 20 62 61 72 20 67 72 |ow wide |a bar gr| |00006100| 61 70 68 20 64 72 61 77 | 6e 20 62 79 20 53 42 44 |aph draw|n by SBD| |00006110| 72 61 77 42 61 72 47 72 | 61 70 68 20 28 64 65 73 |rawBarGr|aph (des| |00006120| 63 72 69 62 65 64 20 6e | 65 78 74 29 20 77 69 6c |cribed n|ext) wil| |00006130| 6c 20 62 65 20 73 6f 20 | 74 68 61 74 20 61 20 6d |l be so |that a m| |00006140| 6f 64 75 6c 65 20 63 61 | 6e 20 63 61 6c 63 75 6c |odule ca|n calcul| |00006150| 61 74 65 20 69 74 73 20 | 64 69 73 70 6c 61 79 20 |ate its |display | |00006160| 77 69 64 74 68 2e 0d 70 | 61 73 63 61 6c 20 73 68 |width..p|ascal sh| |00006170| 6f 72 74 20 53 42 47 65 | 74 42 61 72 47 72 61 70 |ort SBGe|tBarGrap| |00006180| 68 57 69 64 74 68 28 73 | 68 6f 72 74 20 62 61 72 |hWidth(s|hort bar| |00006190| 43 6f 75 6e 74 29 3b 0d | 54 68 65 20 53 42 47 65 |Count);.|The SBGe| |000061a0| 74 42 61 72 47 72 61 70 | 68 57 69 64 74 68 20 72 |tBarGrap|hWidth r| |000061b0| 6f 75 74 69 6e 65 20 72 | 65 74 75 72 6e 73 20 74 |outine r|eturns t| |000061c0| 68 65 20 77 69 64 74 68 | 20 6f 66 20 61 20 62 61 |he width| of a ba| |000061d0| 72 20 67 72 61 70 68 20 | 63 6f 6e 74 61 69 6e 69 |r graph |containi| |000061e0| 6e 67 20 62 61 72 43 6f | 75 6e 74 20 73 65 67 6d |ng barCo|unt segm| |000061f0| 65 6e 74 73 2e 20 20 49 | 66 20 62 61 72 43 6f 75 |ents. I|f barCou| |00006200| 6e 74 20 68 61 73 20 61 | 20 76 61 6c 75 65 20 6c |nt has a| value l| |00006210| 65 73 73 20 74 68 61 6e | 20 30 2c 20 74 68 65 20 |ess than| 0, the | |00006220| 53 42 47 65 74 42 61 72 | 47 72 61 70 68 57 69 64 |SBGetBar|GraphWid| |00006230| 74 68 20 72 6f 75 74 69 | 6e 65 20 72 65 74 75 72 |th routi|ne retur| |00006240| 6e 73 20 61 20 77 69 64 | 74 68 20 6f 66 20 30 2e |ns a wid|th of 0.| |00006250| 20 0d 53 42 44 72 61 77 | 42 61 72 47 72 61 70 68 | .SBDraw|BarGraph| |00006260| 0d 59 6f 75 20 63 61 6e | 20 75 73 65 20 74 68 65 |.You can| use the| |00006270| 20 53 42 44 72 61 77 42 | 61 72 47 72 61 70 68 20 | SBDrawB|arGraph | |00006280| 72 6f 75 74 69 6e 65 20 | 74 6f 20 64 72 61 77 20 |routine |to draw | |00006290| 61 20 62 61 72 20 67 72 | 61 70 68 2e 0d 70 61 73 |a bar gr|aph..pas| |000062a0| 63 61 6c 20 76 6f 69 64 | 20 53 42 44 72 61 77 42 |cal void| SBDrawB| |000062b0| 61 72 47 72 61 70 68 28 | 73 68 6f 72 74 20 6c 65 |arGraph(|short le| |000062c0| 76 65 6c 2c 0d 20 20 20 | 20 20 20 20 20 20 20 20 |vel,. | | |000062d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000062e0| 73 68 6f 72 74 20 62 61 | 72 43 6f 75 6e 74 2c 0d |short ba|rCount,.| |000062f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00006300| 20 20 20 20 20 20 20 20 | 20 20 20 73 68 6f 72 74 | | short| |00006310| 20 64 69 72 65 63 74 69 | 6f 6e 2c 0d 20 20 20 20 | directi|on,. | |00006320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00006330| 20 20 20 20 20 20 20 50 | 6f 69 6e 74 20 62 61 72 | P|oint bar| |00006340| 47 72 61 70 68 54 6f 70 | 4c 65 66 74 29 3b 0d 54 |GraphTop|Left);.T| |00006350| 68 65 20 53 42 44 72 61 | 77 42 61 72 47 72 61 70 |he SBDra|wBarGrap| |00006360| 68 20 72 6f 75 74 69 6e | 65 20 64 72 61 77 73 20 |h routin|e draws | |00006370| 61 20 62 61 72 20 67 72 | 61 70 68 20 63 6f 6e 74 |a bar gr|aph cont| |00006380| 61 69 6e 69 6e 67 20 74 | 68 65 20 6e 75 6d 62 65 |aining t|he numbe| |00006390| 72 20 6f 66 20 73 65 67 | 6d 65 6e 74 73 20 73 70 |r of seg|ments sp| |000063a0| 65 63 69 66 69 65 64 20 | 62 79 20 74 68 65 20 62 |ecified |by the b| |000063b0| 61 72 43 6f 75 6e 74 20 | 70 61 72 61 6d 65 74 65 |arCount |paramete| |000063c0| 72 20 69 6e 20 61 20 6d | 6f 64 75 6c 65 d5 73 20 |r in a m|odule.s | |000063d0| 64 69 73 70 6c 61 79 20 | 61 72 65 61 2e 20 49 66 |display |area. If| |000063e0| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 62 61 | the val|ue of ba| |000063f0| 72 43 6f 75 6e 74 20 69 | 73 20 6c 65 73 73 20 74 |rCount i|s less t| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.